KNOWLEDGE BASE

Automating PDF Exports with Filters Using Tabcmd


Published: 23 Nov 2015
Last Modified Date: 28 Jul 2016

Question

How to use tabcmd to automate PDF exports with multiple filters.

Environment

Tableau Server 

Answer

Use tabcmd in conjunction with URL filter parameters.

For example, the following URL with filter parameters:
http://servername/views/workbook/sheet?param1=value1,value2&param2=value
Could be used in tabcmd as follows:
tabcmd export "workbook/sheet?param1=value1,value2&param2=value" --pdf -f "C:\Tableau_Workbooks\Weekly-Reports.pdf"
Or:
tabcmd get "http://servername/views/workbook/sheet?param1=value1,value2&param2=value" -f "C:\Tableau_Workbooks\Weekly-Reports.pdf"
Did this article resolve the issue?