Tabcmd is one of the two command line tools that come with Tableau
Server. It helps you automate common tasks including batch publishing workbooks
and user and group administration.
How to Use Tabcmd:
Tabcmd takes a command, an
argument, and options as shown in the format below:
tabcmd command
command-argument [options option-arguments]
Using that format and the commands in this document you can run
the tool. For example, you could use the following command to create a session
on a server called sales-server logged in as Administrator and delete a
workbook on the Sales site called Sales_Analysis:
tabcmd delete
"Sales_Analysis" -s sales-server -t Sales -u administrator -p
p@ssw0rd!
Here’s the same command for a workbook on the Default site, or for a server that is not running multiple sites:
tabcmd delete "Sales_Analysis" -s sales-server -u administrator -p p@ssw0rd!
When the command is successful, tabcmd will return a status code of zero. A full error message for non-zero status codes is printed to stderr. In addition, informative or progress messages may be printed to stdout.
A full log named tabcmd.log that includes debugging, progress, and error messages is written to:
· Windows 7, Windows Vista, and Windows Server 2008 R2: C:\Users\<username>\AppData\Roaming\Tableau
· Windows Server 2003: C:\Documents and Settings\<username>\Application Data\Tableau
Here’s the same command for a workbook on the Default site, or for a server that is not running multiple sites:
tabcmd delete "Sales_Analysis" -s sales-server -u administrator -p p@ssw0rd!
When the command is successful, tabcmd will return a status code of zero. A full error message for non-zero status codes is printed to stderr. In addition, informative or progress messages may be printed to stdout.
A full log named tabcmd.log that includes debugging, progress, and error messages is written to:
· Windows 7, Windows Vista, and Windows Server 2008 R2: C:\Users\<username>\AppData\Roaming\Tableau
· Windows Server 2003: C:\Documents and Settings\<username>\Application Data\Tableau
I feel Tableau and other aspects really help people to look for more and more interesting solutions and advices to look forward to provide solutions to complex database problems.
ReplyDeleteTableau Soap Connection