Last Modified Date: 08 Jul 2022
Environment
- Tableau Server
Answer
Option 1 - Use tabcmdRe-publish the workbook and overwrite the existing workbook on Tableau Server using tabcmd publish, e.g.:
tabcmd publish "analysis.twbx" -r "Test Project" -n Analysis --overwrite --db-username "jsmith" --db-password "secret-password" --save-db-password
If you do not have a local copy of the workbook, use tabcmd get to download the workbook before republishing it.
Option 2 - Use the Tableau Server Client library and the Document API
Use the Tableau Server Client library to download and publish workbooks, and the Document API to change the connection information.If you require assistance with writing code using the APIs, please search for a relevant discussion or post your question on the Developer Portal.
Additional Information
Discuss this article... Feedback Forum
Thank you for providing your feedback on the effectiveness of the article.
Open new Case
Continue Searching
Knowledge Base
Community
Product Help
Training and Tutorials