The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Hardware table as reference field in catalog

EktaK
Tera Contributor

Hello All,

 

I have created a reference variable Serial Number which is referenced to Hardware table(cmdb_ci_hardware)

Once I open variable in catalog form, I am not able to see Serial Number, instead i can see(name, Model ID, manufacture...) in reference Column.

 

Even if I select any value, It will give hardware name... Instead i want to print Serial Number of hardware.

 

Thank you in advance.

7 REPLIES 7

kaushal_snow
Mega Sage

Hi @EktaK ,

 

You can use variable attributes to enhance display:

 

Example: ref_auto_completer=AJAXTableCompleter,ref_ac_columns=serial_number;model_id,ref_ac_columns_search=true


This lets you see multiple field value in a row. 

 

kaushal_snow_0-1756233313302.png

 

 

How to Set the Serial Number as the Display Value> Open the Dictionary Entry for the custom field in the hardware table:

 

Navigate to System Definition → Dictionary and find the cmdb_ci_hardware.serial_number field.

 

Enable the Display Attribute: Check the "Display" box—this marks the Serial Number as the display field for the table.


Note: Only one field per table can be the display field.

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

Hello @kaushal_snow 

Thank you for your response.

I have already tried your method, it doesn't work for me.

Hi @EktaK , can you share screenshot, if you have...?

 

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/