Skip to content

Type 2: Add database_name to ConnectionItem properties #1571

Closed

Description

@james-camacho-tel360

Description

When creating a datasource through the Tableau Cloud UI, if you specify the connnector to be an Azure SQL Database you are allowed to specify the database name:
Image
That database property is not available anywhere in tableauserverclient that I can find (unless it can be specified in the server_address, but haven't had any success with that so far). This is important for us since we are trying to create automation to deploy our data sources from our development website to our Production website, with our respective servers / databases updated in the process.

Activity

  1. added a commit that references this issue on Jun 18, 2026
    00c3189
  2. added a commit that references this issue on Jun 19, 2026
    b4a9446
  3. jacalata commented on Aug 1, 2026

    @jacalata
    Contributor

    FYI: while investigating #1807 we found that the read side of this fix is currently a no-op. The Tableau REST API doesn't emit dbName on the <connection> response element for any connector type, so ConnectionItem.database_name will always come back None after populate_connections(), even though the property exists. The write side (setting connection.database_name = "..." and publishing) works as intended.

    If you need to read the database name back — or Oracle service, Snowflake schema, and similar connector-specific attributes — see #1807 for the workarounds (download + tableaudocumentapi for one-connection detail, or the Tableau Metadata API for batch reads). #1807 is now the tracker for the underlying gap; subscribe there for updates.

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