- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 12:56 AM
Hi @ Ankur Bawiskar
How to Hide this Related List (Details, Approve Start Date and Approved End Date) based On License Duration Variable For Particular Catalog Item
@Ankur Bawiskar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 06:44 AM
you can show/hide related list using this syntax
if it's OOTB related list then use this syntax
g_form.hideRelatedList('related_list_table_name'); // name of related list in lowercase and space separated by _
If it's defined relationship then use this syntax
g_form.hideRelatedList('REL:sysId');
To know the sysId do this
1) Right click on list header -> Configure -> List Control
2) select the Related list field and use that
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 06:44 AM
you can show/hide related list using this syntax
if it's OOTB related list then use this syntax
g_form.hideRelatedList('related_list_table_name'); // name of related list in lowercase and space separated by _
If it's defined relationship then use this syntax
g_form.hideRelatedList('REL:sysId');
To know the sysId do this
1) Right click on list header -> Configure -> List Control
2) select the Related list field and use that
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader