Last Modified Date: 01 May 2018
- Tableau Server
AnswerOption 1 - Use tabcmd
Re-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 APIUse 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.
Thank you for providing your feedback on the effectiveness of the article.
Open new Case
Training and Tutorials