You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a server admin and my objective is to get list of all workbooks present on Tableau server.
But If I am specifying site_id then only the content of that particular site is coming and if I am not specifiying the site_id then, the content of only default site is coming.
How to get the list of all workbook irrespective of sites?
Thanks
Rishabh
I'm not aware of anything in the API that would allow you to do this and don't expect there to be as I don't believe you're able to explore combined site content in the web UI either.
I think you'll want to loop over a collection of TableauAuth credentials providing a login to each site and run your workbook get function against each site. For example, you'd use something like the following:
Activity
alexisnotonffire commentedon Jun 13, 2020
I'm not aware of anything in the API that would allow you to do this and don't expect there to be as I don't believe you're able to explore combined site content in the web UI either.
I think you'll want to loop over a collection of TableauAuth credentials providing a login to each site and run your workbook get function against each site. For example, you'd use something like the following:
If you're open to not using this API - and have access to it - you could just dump it out from the workgroup database.
jorwoods commentedon Aug 5, 2020
Starting with #655 you can use a baked in site switch rather than creating separate auth objects.
jacalata commentedon Oct 1, 2024
This isn't on the roadmap.