KNOWLEDGE BASE

How To Use Tabcmd To Interact With Multi-Layer Nested Project


Published: 26 Dec 2020
Last Modified Date: 28 Dec 2020

Question

How to use tabcmd to interact with multi-layer nested project?

Environment

  • Tableau Server 10.5 and later versions
  • tabcmd 10.5.8+, 2018.1.4+ and later versions

Answer

The ability of interacting with nested project is added into tabcmd starting from versions 10.5.8 and 2018.1.4. You can access nested projects by the --parent-project-path parameter with the functions for createproject, publish, publishsamples, refreshextracts, delete, and deleteproject.

--parent-project-path takes an argument of the path of the parent projects with a '/' separating nested projects like:

tabcmd -publish "C:\tableau files\filename.twbx" -r childTier2 --parent-project-path parent/childTier1

The command above will publish the file to the parent/childTier1/childTier2 project.

Did this article resolve the issue?