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
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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @DB1 

 

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

 

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

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