Can I have different display values on 2 reference fields that reference the same table?

shrija10
Kilo Contributor

Can I have different display values on 2 reference fields that reference the same table?

6 REPLIES 6

Thanks for your quick response Ken and Ashutosh.


But in my scenario customer has two custom tables where in table 1 field Location should have display value as name and in table 2 field Location should have its display value as country and both referring to same Location table. (in Table 1 they have two fields as Address and postal code). And when I checked in Wiki its written "Only one field can be defined as the display value for a table. When you set the Display value to true, a business rule sets the Display value to false for all other fields on the table."


So as per this statement for Location table we can set only 1 field's Display value as true. and suppose , we are setting Display value of name true then I can achieve my requirement for table 1 , then how to achieve for table 2 ??


One table - one display value. Period!



What I would suggest is add both the fields to auto complete by using ref_ac_columns attribute so that user is able to see both the values.



Auto-Complete for Reference Fields - ServiceNow Wiki