Skip to content

Update document-api to register our namespaces with ElementTree #162

@hkthom

Description

@hkthom

After creating a new Tableau workbook using "Workbook.save_as" of Document API without any changes (Just changing file name ), the content (structure ) of newly generated workbook is different from the original one. There is a difference between the XMLs likely caused by ElementTree modifying the XML namespace keys automatically in the new version of the workbook. This is causing Document API's save_as function to change filter state from "Use all" to "select from list"

This ought to be fixed by modifying the library on github, which is a oneliner

“ET.register_namespace(‘user’, ‘http://tableau.com/user’)

or whatever the url is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions