Reference field is not showing the display value value which is true

kiran kumar m1
Tera Contributor

I have created a catalog ,in which I have a reference field with demand table , in that table the display true is on Number field but when I select any record in that variable its showing the Demand name instead of Demand Number
m

kirankumarm1_0-1785155734151.png

 

5 REPLIES 5

pr8172510
Kilo Sage

Hi @kiran kumar m1,

I tried to reproduce this  using a custom table and a Catalog Item with a Reference variable.

 when the Number field was configured as the Display field on the referenced table, the Catalog reference variable displayed the Demand Number correctly (for example, DEM0001002, DEM0001003).

Since your variable is displaying the Demand Name instead, check

  • Verify that the Number field is still the Display field (Display = true) on the Demand table.
  • Check whether the reference variable has any Attributes (such as ref_ac_columns or other autocomplete attributes) that might affect what is displayed.
  • Verify there isn't a custom Reference Qualifier, Client Script, or Script Include modifying the lookup behavior.
  • If you recently changed the Display field, try clearing the cache and test again.
    pr8172510_0-1785160340478.pngpr8172510_1-1785160353693.pngpr8172510_2-1785160408661.png

     



Hi @pr8172510 thanks for your response , I saw somebody has dictionary overridden the Demand name
Is there a way where we can have two different over rides ?

Yes, you can have multiple dictionary overrides for a single field in ServiceNow, but only one override per target table.

 

How Multiple Overrides Work
  • One per table: On the parent task table, the field state can have an override for the incident table, another override for the change_request table, and a third override for the problem table. 
  • No duplicates: You cannot create two separate override records for the incident table on the same field. If you need different logic for the same table, you must combine it into a single override record or use alternative tools like UI policies. 

Hi @kiran kumar m1,

Dictionary Overrides are intended to override inherited dictionary properties for extended (child) tables.

If you've identified an override on the child table, I'd review that existing override to see whether it's overriding the Display property, since that would take precedence over the parent table's configuration and explain why the reference variable is showing Demand Name instead of Demand Number.