1 Reply Latest reply on Oct 21, 2017 11:50 AM by Carisa Chang

    tabcmd use get workbooks to export a specified dashboard

    Henry Zheng

      Hi, here is an example, workbook name: Sales_Analysis, which has two dashboards: "Dashboard1", "Dashboard2".

       

      Currently using tabcmd get "/workbooks/Sales_Analysis.twbx" -f "C:\Tableau_Workbooks\Weekly-Reports.twbx" to export the workbook

       

      what is the command if I only want "Dashboard1" to be included in the exported workbook?

        • 1. Re: tabcmd use get workbooks to export a specified dashboard
          Carisa Chang

          Hi Henry,

           

          The tabcmd get documentation has a good write up on how to do this:

           

          Specifying a view or workbook to get: You specify a view to get using the "/views/<workbookname>/<viewname>.<extension>" string, and specify a workbook to get using the "/workbooks/<workbookname>.<extension>" string. Replace <workbookname> and <viewname> with the names of the workbook and view as they appear in the URL when you open the view in a browser and replace <extension> with the type of file you want to save. Do not use the session ID at the end of the URL (?:iid=<n>) or the "friendly" name of the workbook or view.

          For example, when you open a view Regional Totals in a workbook named Metrics Summary, the URL will look similar to this:

          /views/MetricsSummary_1/RegionalTotals?:iid=1

          Use the string /views/MetricsSummary_1/RegionalTotals.<extension> to get the view.

          Use the string /workbooks/MetricsSummary_1.<extension> to get the workbook.

          tabcmd Commands

           

          Hope this helps!