Summary
Provide a setter for the workbook item Description Field
Request Type
Support a REST API
The API: PUT /api/api-version/sites/site-id/workbooks/workbook-id supports a description field.
the Schema definition for WorkbookType contains an element xs:attribute name="description" type="xs:string"
The Python API currently does not support this element.
It could be added by modifying:
- tableauserverclient/models/workbook_item.py -- adding a setter for description
- tableauserverclient/server/request_factory.py:
update class WorkbookRequest : _generate_xml : in the same method as other elements, add a description :
if workbook_item.description:
workbook_element.attrib['description'] = workbook_item.description
add same code to procedure update_req.
This change allows a workbook description to be added at time of upload, preventing manual intervention after report promotions, migrations, or other automated processes.
Summary
Provide a setter for the workbook item Description Field
Request Type
Support a REST API
The API: PUT /api/api-version/sites/site-id/workbooks/workbook-id supports a description field.
the Schema definition for WorkbookType contains an element xs:attribute name="description" type="xs:string"
The Python API currently does not support this element.
It could be added by modifying:
update class WorkbookRequest : _generate_xml : in the same method as other elements, add a description :
if workbook_item.description:
workbook_element.attrib['description'] = workbook_item.description
add same code to procedure update_req.
This change allows a workbook description to be added at time of upload, preventing manual intervention after report promotions, migrations, or other automated processes.