Can't figure out how a related list is hiding/showing.

Farah5
Tera Contributor

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? 

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

Check UI policy related list action which is available on UI policies form as related list

Best Regards
Aman Kumar

View solution in original post

8 REPLIES 8

Mark Roethof
Tera Patron
Tera Patron

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

LinkedIn

I'm not sure about the behavior, but I believe this table and the related lists are OOTB. 

Sagar Pagar
Tera Patron

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

The world works with ServiceNow

Allen Andreas
Administrator
Administrator

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!