Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to create a datasource programatically? #87

Open
manugarri opened this issue Mar 11, 2020 · 0 comments
Open

Is it possible to create a datasource programatically? #87

manugarri opened this issue Mar 11, 2020 · 0 comments

Comments

@manugarri
Copy link

I am trying to create a connection to a database programatically. The goal is to add access to different databases with the same schema automatically.

I am using tableau-tools==5.1.3.

I basically created a connection in Tableau online (connecting to a snowflake database) and downloaded the file as tds.

Then i edited that tds to change the named-connection name property and the connection dbname,server,username, and warehouse properties. I removed all the extracts (since i believe those are generated).

I use the publish_datasource method updating the username and password. I can indeed see the datasource in tableau online, however any attempt to refresh it fails in the ui with no descriptive error.

Is there anything else that needs to be done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant