this may not be helpful as it doesn't use tabcmd but here goes anyway;
you can bulk change ownership using the interface (i just tested it on 50 published workbooks and took me less than a minute)
1) go to workbooks view,
2) filter to the ones you want to change using the filter menu to the left
3) Just above the filter menu it will say 0 selected, click on the arrow next to this and select all
4) Using the actions button change owner ...
This works great if you want to change ownership of all content to admin, but may not be so great if you have a complex set of requirements where set of workbooks a need to belong to person b etc etc.
Hope it helps even if it doesnt anser the question you asked.
I haven't run across any option within tabcmd to update an owner. Though if you wanted to, you could do it via the REST API. https://onlinehelp.tableau.com/current/api/rest_api/en-us/help.htm#REST/rest_api_ref.htm#Update_Workbook%3FTocPath%3DAPI…
Or you could do it in bulk via the Tableau portal by searching for an owner and then updating to a new owner.
Rather than changing owner for individual workbooks I would need to move published workbooks from one project to another project. For instance, move all workbooks from "Test" to "Published" projects/folder on server.
How can I schedule this ?
you are definitely into the realms of the Rest API now, if i were consulting with you id want to understand more about your use case, as moving from test to published should be a very deliberate act, so i assume you are allowing the publishers to 'mark' the workbook as ready for publishing somehow for the automated script to pick up and run?
either way the resource you need is - https://onlinehelp.tableau.com/current/api/rest_api/en-us/help.htm#REST/rest_api_ref.htm#Update_Workbook%3FTocPath%3DAPI…
Hi Chris, thanks for your reply.
Yes, to elaborate I will be essentially having two projects - Test and Published. So, users can put their ready to publish workbooks in test project and daily at particular frequency I'll move those to published.
REST API documentation does not clearly define how do we utilize selection of all worksheets and publishing in one go. Can you elaborate on your tag the workbook idea?
apologies for the delayed response.
We implemented a system where;
1. once a workbook was ready for testing it would be published to the 'Test' folder,
2. once tested and cleared for publishing the tester would go onto the server into the workbook and on the details form add 'publish' to the tags
3. Once a week the admin would filter the test project based on the 'publish' tag, select all and move to the production project.
This could be automated by embedding the rest api into PHP, Python or other programming language where you pass the correct site, project and user ids to get a list of all projects into an array, then filter the array to just those with the 'publish' tag and cycle through publishing each one in turn.
We chose not to do this programmatically as it is so quick to do on server it would have taken years worth of the weekly man time spent publishing the manual way to offset the time spent writing the code to do the work.
Also a part of my still likes having that human eye to apply common sense when deploying anything to a production project.
Hope this helps.