Skip to content

Add Workbook Item Description #1147

Closed
Closed

Description

@allturnip

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:

  1. tableauserverclient/models/workbook_item.py -- adding a setter for description
  2. 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.

Activity

  1. nosnilmot commented on Jan 13, 2023

    @nosnilmot
    Contributor

    The current REST API Workbooks Methods documentation does not include a description field in any publish or update methods, only in responses

  2. jacalata commented on Feb 15, 2023

    @jacalata
    Contributor

    That's correct: the description field is not settable through the API currently. I don't think there's a real reason for that, so I'll prod the team that owns that area.

  3. changed the title [-]Support a REST API: Add Workbook Item Description[/-] [+]Add Workbook Item Description[/+] on Feb 15, 2023
  4. geerties99 commented on Jun 13, 2024

    @geerties99

    Has the setter for description been added already?
    Could need it for a current project.

  5. AverageJoeGuy-tech commented on Jun 27, 2024

    @AverageJoeGuy-tech

    Has the status of this changed? The REST API currently allows workbook description to be set/changed in PUT.

  6. github-actions commented on Aug 6, 2026

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.

  7. jacalata commented on Aug 6, 2026

    @jacalata
    Contributor

    Closing — this was implemented across a few PRs:

    Set it on the WorkbookItem before publish or before calling update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions