Publish Tableau File Dynamic Action

About

Publish Tableau File package action is used to publish Datasource and Workbook files to the Tableau server

Metadata tab

Publish Tableau File Action - Metadata tab
 

  1. The Write Variables option ensures that the “Package Action” logs the variable values into the “Action vars before log file” before the action is executed and logs the updated variable values into the “Action vars after log file” after the action completes.
  2. This option is typically used for debugging and is not recommended in a production environment.
  3. It can be globally disabled through the options dialog .

Parameters tab

Publish Tableau File Action - Parameters tab
 

Selecting Connection

Publish Tableau File Action - Editing Publish Tableau File Connection Parameter

Variables tab

The Variables tab defines the variables to be updated during the action’s execution.

Publish Tableau File Action - Variables tab

Execution log tab

The Execution log tab is populated after the action is executed. Double click on the row to view the log.

Publish Tableau File Action - Execution log tab

Example: Calculated Tableau File

Pascal

Publish Tableau File Action - Calculated File Name example - Pascal
  Script

begin
 Result:='c:\support\'+LeftString(GETSYSTEMVARIABLE('SYSTEM_DATE'),8)+'.tde';
end;

Python

Publish Tableau File Action - Calculated File Name example - Python
  Script

from datetime import datetime
Result.Value='c:\\support\\'+ datetime.now().strftime('%Y%m%d')+'.tde'

For more technologies supported by our ETL Software see Advanced ETL Processor Versions

Confused? Ask question on our ETL Forum

Posted on January 4, 2025 • 2 min read • 262 words
www.etl-tools.com About Support Pricing Cookies Policy Term Of Use Privacy Policy License