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.
| DESCRIPTION | SCREENSHOT |
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. |
|
Please ask the Tableau team to knw the right values of the first 4 parameters.