Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to get the Serial number alone from ALM Haredware table to be visible in the reference type

Negha1
Tera Contributor

I want only the serial number to be searched and poupulated in the REFERENCE type variale name"Serial number" from ALM Hardware table in the catalog item form.

 

As of now iam getting both the Display name of an asset and the serial number but i want only the serial number to be searched and selected.

 

Negha1_0-1737132297368.pngNegha1_1-1737132319249.png

Provide me an Answer for this. i want only the Serial number, like in right an side in the first picture,

 

7 REPLIES 7

brianlan25
Kilo Patron

You would have to go to the aml_hardware table and open a record. Then right click on serial number and choose configure dictionary. Then go to dictionary override tab and click new and check override display value. Note this will not just change it for the catalog item but will change it for all references to the aml_hardware table in the entire system.

 

Example screenshot below as we did this in release management to display the short description for instead of the number.

 

BrianLancaster_0-1737135914216.png

 

Hello @brianlan25 

Could you please help us understand why the Display Name is displayed when the Serial Number is selected? We would appreciate your clarification on this behavior.

Regards
Radha

When a table is referenced by a reference field, it must have a display field defined. Otherwise, users would see the record's sys_id instead of a meaningful value. By default, Display Name is used as the display field.

If you want a different field to be displayed, you can override the dictionary configuration as mentioned earlier. Keep in mind that this is a global change. Any reference field that points to that table will use the new display field.

Negha1
Tera Contributor

I want it for a catalog item alone, not for overall.