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
A workbook with worksheets set to hidden - which is not uncommon for Workbooks with 1 dashboard view and many hidden worksheets. Upon publishing via workbook.publish() method the sheets show up on Tableau server as visible.
It's not possible through the API directly (as far as I know).
Once it's published, you can delete the views (which doesn't delete them from the workbook, just makes them invisible). I'm not convinced that can be done programmatically because I don't think the ability to remove a view is in the API either.
Activity
subodh-kumar11 commentedon Nov 15, 2018
Hi Team,
I also have same concern.
When publishing workbook to the server, hidden sheets are being visible, which we don't want?
Any help on this concern.
Regards,
Subodh kumar
subodh-kumar11 commentedon Nov 15, 2018
Hi twozeroseven,
Did you get any solution?
If yes, please help me out.
Regards,
Subodh Kumar
reevery commentedon Nov 15, 2018
It's not possible through the API directly (as far as I know).
Once it's published, you can delete the views (which doesn't delete them from the workbook, just makes them invisible). I'm not convinced that can be done programmatically because I don't think the ability to remove a view is in the API either.
Please upvote https://community.tableau.com/ideas/7768
twozeroseven commentedon Nov 16, 2018
Is there a better way to setup a workbook to not have hidden sheets?
irwando commentedon Jul 25, 2019
This was added to REST API, need to plumb it through:
https://onlinehelp.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_workbooksviews.htm#publish_workbook
[-]Hidden sheets not being preserved upon publish[/-][+]Hide Views when Publishing a Workbook[/+]irwando commentedon Jul 25, 2019
Duplicate of #315
julien10 commentedon Mar 31, 2020
Any update on that matter ?
shinchris commentedon May 4, 2020
This has been added by @scuml in #614. The change is in the 'development' branch until the next release.