document-api-python
document-api-python copied to clipboard
Create and modify Tableau workbook and datasource files
Hi -------------------------------------------------- from tableaudocumentapi import Datasource sourceTDS = Datasource.from_file('xyz.tdsx') sourceTDS.connections[0].warehouse = "REPORTING" sourceTDS.connections[0].server = "MY-NEW-SERVER" sourceTDS.connections[0].dbname = "NEW-DATABASE" sourceTDS.connections[0].username = "benl" sourceTDS.save() ------------------------------------------------------- In the above code warehouse alone is...
Currently, I make changes to my Tableau Server Explorer Data Sources in Tableau Desktop where all Data Sources are stored in a single TWB file. I then have to individually...
Migrating a workbook that contains an oracle connection from one environment to another one through code is not possible if the "service" is different, The service in oracle is equivalent...
is it possible to change Data-source Connection to another database which has same table structure. would that break anything? for example changing from PostgreSQL to Redshift or Redshift to snowflake
As a first step towards automatically generating a datasource from scratch, I require the ability to create -elements.
For localization, the caption attribute of columns can be used. This [blog post](https://tableauandbehold.com/2015/08/20/full-localization-of-tableau-workbooks/) has some background.
(via beta feedback) Populate parameter values -- we have some workbooks where we have to refresh the list of values each parameter has. This would allow us to implement a...
(via beta feedback) Replace data source -- we have QA and prod data sources and it would be good to be able to change the data source a worksheet uses...
I've run the sample code to change the database in a workbook. I can change the Server name, the Database name, the User name, and the Port, but there does...