Skip to content

Request: Connection.Queryband & Connection.initial_sql #160

Description

@r-richmond

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.

Activity

  1. t8y8 commented on Mar 28, 2017

    @t8y8
    Contributor

    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.

  2. r-richmond commented on Mar 29, 2017

    @r-richmond
    ContributorAuthor

    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 :/
  3. r-richmond commented on Apr 2, 2017

    @r-richmond
    ContributorAuthor
  4. LGraber commented on May 12, 2017

    @LGraber
    Contributor

    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?

  5. r-richmond commented on May 12, 2017

    @r-richmond
    ContributorAuthor

    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.

  6. LGraber commented on May 12, 2017

    @LGraber
    Contributor

    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!

  7. r-richmond commented on Oct 10, 2017

    @r-richmond
    ContributorAuthor

    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.

  8. added
    document-apiFunctionality implemented in https://github.com/tableau/document-api-python
    and removed on Feb 15, 2023
  9. github-actions commented on Aug 6, 2026

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.

  10. github-actions commented on Aug 21, 2026

    @github-actions

    Closing due to inactivity. If this is still relevant, please reopen or file a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions