


Now we are ready to open python and run are script to download the selected workbooks. Make sure the workbook LUID is in the first column, project LUID is in the second column and workbook name is in the third column and export this sheet to a cross tab and save it as a csv called ‘workbooks’. Now you can go to your worksheet and find the LUIDs for the workbooks you want to download using the workbook name and site filters: In the datasource window set up the following table joins: To connect to this database follow these steps. The easiest way to do with is to query the Tableau Server workgroups database. We will need to get the workbook LUID, which is a unique identifier for each workbook published on tableau server. The next step is get a list of the workbook IDs that you want to download. To do this open up command prompt (windows) or terminal (mac) and type in sudo pip install tableauserverclient and hit enter: This is a library, which allows us to interact with Tableau Server using python. Next we will have to install “Tableau Server Client”.
