hiding tabs /related list based on workspace view
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 09:58 AM - edited 06-12-2023 10:58 AM
How to hide tab/related list like user or device allocation in software asset workspace.
Thanks.
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 11:08 AM - edited 06-12-2023 11:09 AM
Hi @servicenow14710 if you want to hide a related list on a particular view add the below script in UI Policy in the Execute if True script section.
var view = getView();
if (view == 'workspace'){
g_form.hideRelatedList('related_list_table_name');
}
Please mark reply as Helpful/Correct, if applicable.
Thanks,
Siddharam
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2024 09:37 AM
It's not working
