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

Request: Connection.Queryband & Connection.initial_sql #160

Open
r-richmond opened this issue Mar 28, 2017 · 7 comments
Open

Request: Connection.Queryband & Connection.initial_sql #160

r-richmond opened this issue Mar 28, 2017 · 7 comments
Labels
content-migration-tool document-api Functionality implemented in https://github.com/tableau/document-api-python Server-Side Enhancement

Comments

@r-richmond
Copy link
Contributor

Very similar to tableau/document-api-python#109 & tableau/document-api-python#110

I'd like the ability to edit these connection fields through this package.

Glancing at the code it looks like a simple copy paste expansion... but i'm not super familiar with rest apis and any magic going on here.

@t8y8
Copy link
Collaborator

t8y8 commented Mar 28, 2017

The rest api doesn't support this on the Server side -- updating the library model wouldn't have an effect.

I think the preferred route is to keep document operations in the document-api, and then you'd publish that updated twb/tds via the SCL.

@r-richmond
Copy link
Contributor Author

so, i've been trying to accomplish that all day however, there are a couple pain points here.

  1. it looks like i'm unable to upload .twb with this
  2. its painful to download 1500 workbooks, make one small change and then re-upload all of them. (I would argue that those datasource settings are at the same level as username / password / port and thus should be modifiable from the rest api as well).
  3. Sometimes the larger workbooks fail when re-uploading :/

@r-richmond
Copy link
Contributor Author

Is there a good place on github to request that initial sql and query bands be added to the rest api?

https://onlinehelp.tableau.com/current/api/rest_api/en-us/help.htm#REST/rest_api_ref.htm#Update_Datasource_Connection%3FTocPath%3DAPI%2520Reference%7C_____80

@LGraber
Copy link
Contributor

LGraber commented May 12, 2017

This is the correct place to add that request. We can certainly take a look but we have a number of other items on on backlog right now. Also, it feels like you are trying to set a policy on the server that should apply to all datasources (probably of some type) and that this is just your way of making it to work. Is that accurate?

@r-richmond
Copy link
Contributor Author

Correct, I'm trying to set all the old workbooks to follow the policy and do it in a bulk manner.

Also it would help for programmatically adding a datasource=<name_of_datasource> (which currently doesn't exist, only <name_of_workbook>)

Basically whenever we need to change or edit this policy it would be very useful to be able to update these things via the rest api as there are significant pain points with downloading everything and reuploading.

@LGraber
Copy link
Contributor

LGraber commented May 12, 2017

Thanks for the details. I think the policy mechanism itself is an interesting item which I have heard from many customers and might be something we should think about. For the ability to edit more properties of the datasource without having to download it, we will put some thought but I don't know if or when that would happen. Thanks for the feedback!

@r-richmond
Copy link
Contributor Author

Hey guys, given that TC17 has rolled around I thought now might be a good time to check on the status of this request and the rest API in general.

p.s. I'm here at the conference so if there is a session you'd recommend I check out please let me know.

@jacalata jacalata added document-api Functionality implemented in https://github.com/tableau/document-api-python and removed enhancement labels Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content-migration-tool document-api Functionality implemented in https://github.com/tableau/document-api-python Server-Side Enhancement
Projects
None yet
Development

No branches or pull requests

5 participants