6 Replies Latest reply on Jun 10, 2018 5:46 AM by Niccolo Dejito

    Using tabcmd to select parameters with spaces and &

    Allen Gapara

      I am having some issues in trying to use tabcmd to create a pdf from a selectable parameter view. I am using Tableau 9.1

      The pdf will then be emailed. Instead of creating several dashboards with different urls, I would like one with the option to select Region parameters.

       

       

      The following works

      tabcmd get "http://11.11.11.11:1111/views/NewYearD/NewYearDashboard.pdf?Region=East" -f "C:\AutoTemp\eastFny.pdf"

      tabcmd get "http://11.11.11.11:1111/views/NewYearD/NewYearDashboard.pdf?Region=Midlands" -f "C:\AutoTemp\midlandsFny.pdf"

      tabcmd get "http://11.11.11.11:1111/views/NewYearD/NewYearDashboard.pdf?Region=South" -f "C:\AutoTemp\southFny.pdf"

       

       

      The problem is the following

      tabcmd get "http://11.11.11.11:1111/views/NewYearD/NewYearDashboard.pdf?Region=South West" -f "C:\AutoTemp\southwestFny.pdf"

      tabcmd get "http://11.11.11.11:1111/views/NewYearD/NewYearDashboard.pdf?Region=North & Scotland" -f "C:\AutoTemp\northscotlandFny.pdf"

      tabcmd get "http://11.11.11.11:1111/views/NewYearD/NewYearDashboard.pdf?Region=(All)" -f "C:\AutoTemp\wholeCompany.pdf"

       

      It breaks when selecting South West. It can create pdfs for the top ones without spaces.