show active values only for reference field using catalog client script

kennetholesco
Mega Expert

Hi Guys,

how to show active values only for reference field using catalog client script? i have a reference variable that points to a table. this table has false values. i just want to show the active values only using catalog client script. thank you

1 ACCEPTED SOLUTION

Archana Reddy2
Tera Guru

Hi,

In your Catalog item, go to that Reference Variable. Under Type Specification tab, Use Reference Qualifier = simple and set condition as Active is true.

Hope this helps!

Thanks

View solution in original post

11 REPLIES 11

vinothkumar
Tera Guru

YOu can use reference qualifier instead of client script.

 

https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/script/server_scripting/concept/c_SimpleReferenceQualifierExample.html

Hi guys,

 

thanks for your input. however, when I go to that Reference variable, I don't see Type Specification tab.

Just checked, is it the option under Dictionary? also, this won't affect other catalog items that uses the specific table? and can this be transferred using update set? Thanks!

Right click and configure form layout and add use reference qualifer to the form layout and it will show and then add condition active as true

 

find_real_file.png

 

find_real_file.png