Skip to main content

Hi,

 

I found a way to automatically update tags using Tableau REST API. However, the tags separated by whitespace are separated for each word.

 

For examples, "Tableau Desktop" -- the tag will become "Tableau" and "Desktop" which is not what I want.

 

I am using the following:

conn.add_tags_to_workbook (From https://github.com/divinorum-webb/tableau-api-lib)

 

I have also used the server.workbooks.update(tags = {}) function using tableauserverclient library.

2 answers
  1. May 14, 2023, 5:05 PM

    Hi @Jasper Pangan​ ,

    Are you still looking for help on this? It appears to be an issue with the REST API as well. Would you be able to simply use "TableauDesktop" or "Tableau_Desktop" by replacing spaces with something else?

     

    Here's a similar post: https://community.tableau.com/s/question/0D58b0000AdHkFaCQK/when-i-add-tags-from-the-python-api-which-has-spaces-the-api-overrides-the-command-and-breaks-it-apart-into-different-tags

     

    Best,

    Bryce

    ------------------------------------------

    If you find this post helpful, please be sure to Upvote and/or Select as Best. Thank you!

0/9000