2 Replies Latest reply on Nov 16, 2017 1:20 PM by Atul Bhagwat

    Create an archive solution in Tableau

    Atul Bhagwat

      Hi Gurus,

       

      I was looking into this discussion thread: download all twbx from a project using tabcmd

       

      We were planning to do a similar approach.

      However, the csv file has workbook names in friendly format!

      This is not what tabcmd expects when it uses a get or export call.

       

      for ex: Friendly name: Country Wide Sales.twbx

                Tableau format: CountryWideSales_0 ( at times, when you have more than 1 with similar name )

       

      In this case, how would the DO loop replace variables in the script below:

       

      REM %%A - Workbook name

       

      for /F "skip=1 tokens=1-2 delims=," %%A in (D:\trythis.csv) DO (

          tabcmd get "/workbooks/%%A.twbx" -f  "D:\path_workbook_capture\%%A.twbx"

      )

       

      My idea is to get all workbooks and archive the whole project.

      Now, when I run this, it fails as, it takes the friendly name and the get command fails to search the workbook name!

       

      Jeff Strauss

       

      Regards,

      Atul B