How to set multiple fields as Display=true ?

Jitendra Namdev
Tera Contributor

I have a table named Demo which has two fields Name and Mobile number.
And I have another table with two reference fields and both are referencing Demo table .
The first reference field should save the name from the picked demo record while the second one should save the mobile number from the picked  demo record .

 

 

Thanks in advance.

7 REPLIES 7

DScroggins
Kilo Sage
Hello. Unfortunately each table can only have a single field marked as display. So this is not possible. You can display those different values in a different field though but that would be done with a bit of scripting. --David

Community Alums
Not applicable

You can't have two display fields.

You also shouldn't ask your users to pick the same data twice. If they're picking the 'name' record that contains the mobile number you want, you should show both columns using the ref_ac_columns attribute. 

If you're wanting to pick two separate things, they should be in different tables. 

After selecting an Assignment group on the incident form , the assigned to field only shows users that are from that above group. 

I have the same situation , Just tell me how servicenow did it so I can do it too.

 

Thanks for the answers.

Community Alums
Not applicable

That's not the same situation as you described. Those two fields run on separate tables, and are dependent on each other. 

If you look at the dictionary you can see that: 

find_real_file.png