Tuesday 25 August 2015

Sign in to Tableau Server through Tabcmd (Tableau Server Command Line Tool)

Step 1 

Click the Start button, and select All Programs > Accessories. Right-click the Command Prompt and select Run as administrator.

Step 2 

Type one of the commands below, depending on where the tabcmd utility is running from. If you are running the tabcmd utility from the same machine as Server
  • cd C:\Program Files\Tableau\Tableau Server\<version>\bin
  • cd C:\Program Files (x86)\Tableau\Tableau Server\<version>\bin
If you are running the tabcmd utility on a separate machine from Server:
  • cd C:\Program Files\Tableau\Tableau Server\<version>\extras\Command Line Utility
  • cd C:\Program Files (x86)\Tableau\Tableau Server\<version>\extras\Command Line Utility
Note: Replace <version> with the version of Tableau Server you are running.

Step 3 

Type the following command:
tabcmd login -s http://<host>:<port> -u <username> -p <password>
Notes:
  • Replace <host> and <port> with your specific hostname and port.
  • Replace the <username> and <password> with a valid Tableau Server username and password for someone who has publishing rights.
If the command is executed successfully, you will see something similar to the following example:
C:\tli>tabcmd login -s http://tableauserver:80 -u admin -p password
===== Creating new session
===== Server: http://myserver
=====   Username: admin
===== Connecting to the server...
=====   Signing in...
=====   Auto-sign in to site: Default
===== Creating new session
=====   Server: http://myserver
=====   Username: admin
===== Connecting to the server...
===== Signing in...
===== Succeeded
===== Succeeded

No comments:

Post a Comment