Activity |
TableauRefresh |
---|---|
Description |
Refresh every data source of the specified projects on a Tableau Server |
Input :
PropertyName |
Type |
Required |
Default Value |
Description |
---|---|---|---|---|
BaseUri |
STRING |
YES |
|
Base Uri of Tableau’s API (e.g. https://my_tableau/api/3.15) |
Username |
STRING |
NO |
|
Username used for authentication. Use either the username/password or the token/secret |
Password |
STRING |
NO |
|
Password used for authentication |
TokenName |
STRING |
NO |
|
Token name used for authentication. Use either the username/password or the token/secret |
TokenSecret |
STRING |
NO |
|
Token secret used for authentication |
ContentUrl |
STRING |
NO |
|
Site name. Leave empty when using the Default site |
ProjectIds |
STRING |
YES |
|
Project IDs of data sources to be refreshed |
How to create your token for authentication
-
Connect to your Tableau Server
-
Go to “My Account Settings” > “Settings” > “Personal Access Tokens”
-
Create a new token and save the secret on a secured location

Example1: Export a query into Json
Input
{
"Type": "Task",
"Resource": "Production-TableauRefresh",
"ResultPath": "$.TableauRefresh",
"Parameters": {
"BaseUri.$": "$.TableauParameters.result[0].base_uri",
"Username.$": "$.TableauParameters.result[0].username",
"Password.$": "$.TableauParameters.result[0].password",
"TokenName.$": "$.TableauParameters.result[0].token_name",
"TokenSecret.$": "$.TableauParameters.result[0].token_secret",
"ContentUrl.$": "$.TableauParameters.result[0].content_url",
"ProjectIds.$": "$.TableauParameters.result[0].project_ids"
},
"End": true
}