The job allows you to trigger the refresh of a Tableau dashboard from Talend. The job is useful as it ensures that dashboard is refreshed only after the ETL process is completed.

JOB EXPLANATION

DESCRIPTIONSCREENSHOT

The job first issues an HTTP POST request to the /signin endpoint of the Tableau API.

The call provides an access_token that is stored as a global variable and which will be used to authenticate the trigger request.

The job calls the refresh endpoint by calling this url

context.tableauBaseUrl +  "/sites/" + context.tableauSiteId + "/workbooks/" + context.tableauWorkbookId + "/refresh"

which is dynamically built using the context variables that must be passed to the job.


JOB INPUT VARIABLES

  • tableauBaseUrl : the url of the Tableau server
  • tableauSiteId : the site id of the Tableau workbook
  • tableauWorbookId
  • pathdirTableauPermission : the path containing the token file (this file must be present in the remote engine)
  • pathdirTableauBodyRefresh : the path containing the body of the refresh api call (it will be the same for all jobs)

Please ask the Tableau team to knw the right values of the first 4 parameters.

  • No labels