Creating Tableau Projects and child projects with Tableau API and Python Prerequisites: Python on the machine tableauserverclient module API enabled on Tableau server. Permissions to update for the user Projects.csv file . list all groups in a csv file. attached format . Changes to be made in the script for below lines in the script groups = open('<Filepath>/groups.csv') pat='getyourpersonaltoken' server = TSC.Server('http://myserver.tableau.com',use_server_version=True) tokenName = 'mytokenname' Script: import tableauserverclient as TSC import csv Projects = open('filepath/projects.csv') prjt = csv.reader(Projects) projectstobe = list(prjt) sourceprojects =[] createdprjts = [] parentproj_id='' pr_perm = TSC.ProjectItem.ContentPermissions.ManagedByOwner pat = 'personalaccesstoken' server = TSC.Server('http://myserver.tableau.com', use_server_version=True) tokenName = 'mytokenname' ta = TSC.PersonalAccessToke...
This site provides you basic information on issues you might face regularly or commands that you need on day to day life. As an Author, I will be walking you though articles as i learn