1 of 1 people found this helpful
Hi Deepak, if I recall correctly, a workbook name should not contain blanks. Use the browser to navigate to a view in the workbook, and use the workbook name from there.
Hi Jeff D and Toby Erkson, I have done a lot of tabcmd scripts to extract pdfs, csv and pngs, and that is when the no space thing worked fine. But for downloading a workbook without space dint work for me. I will show the workbook name in my browser and what I am using which leads to an error.
Workbook name in UI:
Workbook name in browser:
Workbook name for sharing:
Command in script:
All these suggest a name with no space, and I try the same in my script. And I get a 500 internal error.
In my Tableau API though, I do not specify any workbook name. Only thing it asks is a workbook ID and that dint work for me too. No issues with permissions too.
Instead of ".twb" try ".twbx" as your file extension.
Also, have you:
- logged in? (tabcmd login ...)
- entered the Site where the workbook is published if it's not in the Default Site? (either -t or --site in tabcmd)
We gotta ask the basic questions when details are missing.
I did try it, but no luck. I am trying to run the scripts on the server itself but still no luck.
Finally I got it to work. I am not sure why after upgrading to 10.0 some workbooks cannot be downloaded from the UI and some dint have any problem downloading. So the script worked with those which could be downloaded from the UI.
But thank you guys for chiming in for help. Both your inputs helped me. Finally I have a full fledged powershell script to do all my tasks in an automated manner, will share it soon. And I will have to open a case with Tableau after going through the scripts on why I am not able to download them.