performance - Is there a way to create a Tableau session via Python which will open a workbook and refresh extracts, then publish workbook to the server? -


i looking everywhere , not having luck. using python 2.7 , tableau 9.0. if you(reader) know of other viable options, i'm open anything, more proficient python. can please give me direction can found? or if possible?

thank you, phil

hi phill can use tabcmd achive functionality. here list of commands: http://onlinehelp.tableau.com/current/server/en-us/tabcmd_cmd.htm

1) tableau login

tabcmd login -s https://<yourservername> -u <yourusername> -p <yourpassword>  

2)refresh

tabcmd refreshextracts --url "<workbook_name>" 

3)to local copy:

 tabcmd https://<yourservername>/workbooks/workbook_name?format=twb&errfmt=html" -f "<new_name.twbx>" 

4)publish

tabcmd publish "<localpath>" -n "<new_name>" 

it worked me. let me know if helped too.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -