Skip to main content
Skip table of contents

Tableau - Trigger Datasource Refresh

Overview

Manually trigger a refresh of a datasource in Tableau. This Blueprint will kick off the refresh and will almost always return a status of success. It will create and store the generated job ID to _shipyard-artifacts/tableau-blueprints/variables/job_id.pickle_

Variables

NameReferenceTypeRequiredDefaultOptionsDescription
Authentication MethodTABLEAU_SIGN_IN_METHODSelectusername_passwordUsername & Password: username_password

Access Token: access_token
Determine which authentication method to use when connecting to Tableau.
Username or Access Token NameTABLEAU_USERNAMEAlphanumericNone-Your personal username or the name of the access token that you use to log in with Tableau.
Password or Access TokenTABLEAU_PASSWORDPasswordNone-The password associated with the provided username OR the access token associated with the provided access token name.
Server URLTABLEAU_SERVER_URLAlphanumericNone-The scheme, subdomain, domain, and top-level domain (TLD) of your Tableau URL.
Site IDTABLEAU_SITE_IDAlphanumericNone-Typically found in the URL as /site/YOURSITEID/
Project NameTABLEAU_PROJECT_NAMEAlphanumericNone-The project name that the Datasource belongs to.
Datasource NameTABLEAU_DATASOURCE_NAMEAlphanumericNone-Name of the published datasource you want to refresh.
Wait For CompletionTABLEAU_WAITBooleanTRUE-Enable if you wish for the vessel to wait for the resource to complete loading before exiting

YAML

Below is the YAML template

YAML

source:
  template: Tableau - Trigger Datasource Refresh
  inputs:
    TABLEAU_SIGN_IN_METHOD: username_password
    TABLEAU_USERNAME:
    TABLEAU_PASSWORD:
    TABLEAU_SERVER_URL:
    TABLEAU_SITE_ID:
    TABLEAU_PROJECT_NAME:
    TABLEAU_DATASOURCE_NAME:
    TABLEAU_WAIT: 'TRUE'
  type: TEMPLATE
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 200
    - 201
    - 202
    - 203
    - 204
    - 205

      
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.