Hide Related list using UI Policy

NaveenB44866094
Tera Contributor

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

NaveenB44866094_0-1739975771692.png

 

 

10 REPLIES 10

Hi @Naveenbabu1531 

 

Better log a Now Support case.

*************************************************************************************************************
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]

****************************************************************************************************************