Reputation: 597
Has anyone successfully created folders on Tableau server using Rest API?
I am using tableauserverclient and need to create folders and subfolders.
TIA
Upvotes: 1
Views: 249
Reputation: 597
I found the solution.
new_project = TSC.ProjectItem(name=project, parent_id=parent_project_id)
self.server.projects.create(new_project)
Basically, one has to find the parent project id first and then create the new project using that parent project id.
Upvotes: 1