Hide Related list using UI Policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 06:37 AM
Hi,
I have created a single related list and dragged above the page inside an annotation. But i can't hide and show the related list using g_form.hideRelatedList(); g_form.showRelatedList respectively in UI Policy /Client Script.
I have referred this doc, but can't able to find solution :
https://servicenowguru.com/client-scripts-scripting/hiding-related-lists-embedded-lists/
Based on the Type of Bill Entry Filed i need to show the related list below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 06:39 AM
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0955728
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 06:43 AM
Hi @Dr Atul G- LNG ,
I tried but can't able to hide the list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 04:50 PM
I think @Ankur Bawiskar is correct; this is not a releated list. You can try the links shared by Ankur and share your feedback with us.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 06:54 AM
Hi @NaveenB44866094 ,
Can you please share the full screenshot of the form.
if you are referring below screenshot then it is not related list, instead it is a embedded list.
Please mark as correct/helpful if it answers your question.
Best Regards,
Pooja