I was trying to learn how to use the tabcmd utility. The first thing i wanted to do was to export some data from a workbook into csv file. So i used the following commands in the respective order
> tabcmd login -s <server-name> -t <site-id> -u <username> -p <password>
>tabcmd export -s <server-name> -t<site-id> "Workbook/View" --csv -f "%PATH%\Book1.csv" --timeout 3600
But the command keeps saying login expired and prompts for password. It keeps on prompting me like an endless loop.
%PATH%>tabcmd export -s <server name> -t <site-id> Workbook/View --csv -f "%PATH%:\book1" --timeout 3600
===== Continuing previous session
===== Server: https://online.tableausoftware.com/<site>
===== Username: username
===== Site: siteid
===== Requesting Workbook/View from server...
===== Your session has expired. Logging in again...
===== Creating new session
===== Username: <username>
Please help me.
You should use following commands and it should work.
I have tried on our server and it is working.
tabcmd login -s https://Servername -t SiteName -u Username -p P@ssword
tabcmd export "Q1Sales/Sales_Report" --csv -f "C:\Users\Desktop\img\Filenamenoextension"
Exporting a CSV of Underlying Data Using Tabcmd Export or Get | Tableau Software
Become a Viz Whiz on the Forums!
Support the Community and master Tableau.
Retrieving data ...