user1552698
user1552698

Reputation: 597

Create Tableau folders using REST API

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

Answers (1)

user1552698
user1552698

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

Related Questions