Open difemaro opened 9 months ago
Hi @difemaro, Fancy meeting you here! Yes, this is possible. While it's a published datasource it is still treated as a common connection and you simply need to update the dbname. Here's how we do it in my org:
Hi @difemaro and @bryceglarsen and thank you both.
I need to do the same thing and have the whole skeleton for a command line program to do this, however this library does not offer a way to update the connection information for a workbook, it just returns the datasources. Am I missing something?
For us we keep the following structure Dev
Dashboard 1 project
QA
When we promote the code we copy the data source and workbooks from Dev to QA and higher envs. I do update the data sources dbnames to point to the correct env db name, however I havent been able to programatically update the workbook's data source in QA after copying the daashboard 1 data source from Dev.
Basically what we do during deployment of a new version.
Any help is appreciated.
Thanks
Hi Devs!
While working with Governance, it is common that the staging workbook is connected a Tableau published data source, let's call it PUBLISHED DATA SOURCE A. Is it possible, that using document api, we can change the published data source of the workbook to PUBLISHED DATA SOURCE B?
Don't forget we are talking about published data sources. I am not asking to change the databases or anything related to the published data sources. I just want to change the Tableau published data source the workbook is using (in this case from PUBLISHED DATA SOURCE A to PUBLISHED DATA SOURCE B)
Regards,
Diego Martinez Tableau Visionary and Forums Ambassador