Quick Question : Where (path) are the *.twbx files that are published on the tableau server stored
Thanks
Chandra
Chandra, I've recently had to do something similar, maybe this will help. Here's some Powershell that will download a copy of all workbooks published to a server (provided the permissions are set up to allow this). It requires tabcmd and Powershell, and downloads the files to the current working directory.
You may need to add tabcmd to your path to get this example to work. You can do that with this line:
Add-PathVariable "C:\Program Files (x86)\Tabcmd\Command Line Utility"
(With adjustments as appropriate for where tabcmd lives on your system. Also, I think Add-PathVariable is part of the Powershell community extensions.)
## Login to the Tableau Server
tabcmd login -s http://YourTableauServer -u YourUsername -p YourPassword
## Tableau Server stores a list of all workbooks in the root directory; get that first.
tabcmd get "workbooks.xml"
## Read the contents of the file into $xml
$xml = [xml] (Get-Content "workbooks.xml")
## Iterate through list of workbooks and grab them all; this gets .twb and .twbx.
Foreach ($workbook in $xml.workbooks.workbook)
{
tabcmd get "$($workbook.path)/$($workbook.'repository-url').twb"
}