Loading

Export All Worksheets Into One PDF Using tabcmd?

Дата публикации: Apr 28, 2025
Задача

How to export all sheets in a workbook into a pdf using tabcmd?

Действия

Use tabcmd export to export all Views/Sheets in a workbook into a single PDF: 

tabcmd export <Workbook/View> --fullpdf -f Filename

For example, see the following: 

tabcmd export "Q1Sales/Sales_Report" --fullpdf

tabcmd export "Sales/Sales_Analysis" --fullpdf --pagesize tabloid -f "C:\Tableau_Workbooks\Weekly-Reports.pdf"


Note:

  1. Including the view name is necessary for the command to work, even though you are exporting the full workbook.

  2. Ensure the filename is specified. If no filename is specified, then all of the worksheets may not export.

  3. The workbook must have been published with Show Sheets as Tabs enabled. For additional details about this feature, see Show sheets as tabs in Tableau Help.

  4. Specifying the view or workbook to export:

    • Use part of the URL to identify what to export, specifically the “workbook/view” string as it appears in the URL for the workbook or view.
    • Do not use the “friendly name,” and exclude the :iid=<n> session ID at the end of the URL.

      For example, the Tableau sample view Global Temperatures in the Regionalworkbook has a URL similar to this: /#/views/Regional/GlobalTemperatures?:iid=3

      To export the Global Temperatures view, use the string Regional/GlobalTemperatures. Do not use Regional/Global Temperatures, or Regional/GlobalTemperatures?:iid=3

References: 

To read more about the "export" command, see tabcmd > export in Online Help and GitHub

Номер статьи базы знаний

001458051

 
Загрузка
Salesforce Help | Article