Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Show related list based on "Views" on the form

DB1
Tera Contributor

Hi All,

 

I have the following requirement

There is a CI list which has the following Views :  Default/ Customer/ Vendor

DB1_0-1700661701193.png

 

The CI form has a "Parent" field

Is there a way that the list can be configured based on the Parent field.

For example - If the view is "Customer" I want the list to show only the records where Parent is not empty

And for "vendor" I want the list to show the records with some value on Parent

 

TIA

@Tai Vu @Ankur Bawiskar @Sandeep Rajput @Danish Bhairag2 

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@DB1 

you need to use view rules for this and there you can add condition Parent is Empty or Not Empty

Create a view rule 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron

Hi @DB1 

 

https://www.servicenow.com/community/now-platform-forum/how-to-hide-show-related-lists-based-on-the-...

 

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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