Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Reference Field dependant on another Reference Field

MStritt
Tera Guru

Hello,

I would like to have one reference field dependent on another reference field on our case form. On our case form, I would like the 'Component' reference field to only show values that are related to the 'Product Name' field. In the screenshot below, when I click on the 'Component' lookup, I only want to see the values related to Product Name 'Digital PIN'.

find_real_file.png

 

 

1 ACCEPTED SOLUTION

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

You need to include the "javascript" prefix to evaluate the current value of u_product_name.  The following should work as your reference qualfier:

javascript:"u_component=" + current.u_product_name

View solution in original post

15 REPLIES 15

>Reference qual field

Here's what I've configured. Still not working. I'm sure I probably haven't entered it correctly.

find_real_file.png

try just using

u_component=u_product_name

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

You need to include the "javascript" prefix to evaluate the current value of u_product_name.  The following should work as your reference qualfier:

javascript:"u_component=" + current.u_product_name

Getting no results:

find_real_file.png