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
Hi ,
After retrieving specific user's workbooks, is there support for retrieving the user's default view of those workbook(s). It will be great to share an example if it is supported. If it's not is there please share if there is any plan for adding this support?
Thanks
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
Two different things can be meant by "default view", and both are in the REST API.
Workbook default view: the Get Workbook and Query Workbooks responses include defaultViewId. It is one value per workbook and is the same for every user. TSC exposes it as WorkbookItem.default_view_id.
A user's default view: when a user sets a custom view as their default, the REST API lists those users through GET /api/{version}/sites/{site-luid}/customviews/{custom-view-luid}/default/users (API 3.21 and later). This call is limited to site and server administrators. Not yet in TSC. (Sorry, my previous comment had the endpoints wrong, so I deleted it)
Activity
bcantoni commentedon Dec 9, 2020
I don't believe the backend REST API supports this yet, so I'll label this one as a backend enhancement request.
jacalata commentedon May 30, 2025
Default view ID is now an attribute when you get a workbook - I'm not sure if that will reflect any user-specific defaults though.
There are also now a couple methods around default views, such as https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_workbooks_and_views.htm#list_users_with_custom_view_as_default
github-actions commentedon Aug 6, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
github-actions commentedon Oct 25, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
github-actions commentedon Nov 9, 2026
Closing due to inactivity. If this is still relevant, please reopen or file a new issue.
jacalata commentedon Nov 11, 2026
Two different things can be meant by "default view", and both are in the REST API.
Workbook default view: the Get Workbook and Query Workbooks responses include
defaultViewId. It is one value per workbook and is the same for every user. TSC exposes it asWorkbookItem.default_view_id.A user's default view: when a user sets a custom view as their default, the REST API lists those users through
GET /api/{version}/sites/{site-luid}/customviews/{custom-view-luid}/default/users(API 3.21 and later). This call is limited to site and server administrators. Not yet in TSC. (Sorry, my previous comment had the endpoints wrong, so I deleted it)