- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 09:28 AM
I'm working on a record that includes 3 m2m related lists. Depending on the value of a field on that record, some of those related lists are hiding/showing. My problem is that I can't figure out how these related lists are configured to hide or show. There is no UI policy or client script that is causing this behavior, and the "Omit if empty" checkbox is not checked on any of them. I want these three lists to show all the time, regardless of the field value. is there another way this behavior can be configured?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 09:42 AM
Check UI policy related list action which is available on UI policies form as related list
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 09:33 AM
Hi there,
Is it something out-of-the-box which we can reproduce? Or is it something custom?
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 09:36 AM
I'm not sure about the behavior, but I believe this table and the related lists are OOTB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 09:34 AM
Hi,
Check is there any UI Policy - Related list action or Client scripts with Script Contains
g_form.hideRelatedList("related_list_name");
to hide them?
Thanks,
Sagar Pagar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 09:34 AM
Hi,
By default, ServiceNow doesn't just hide related lists on it's own (for the most part). So this would most likely be a custom thing you all have established.
You've mentioned where you've checked, but really, that would be the only ways to manipulate the client like that so you'd need to check UI Policy (to include the advanced script section), Client Scripts (all of them), and then the list control settings on the related lists.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!