Show different display value in reference field

Omkar_Ranjane
Tera Contributor

I have reference "Configuration Item" field on form. We have IP configured in CI table.

When we select CI then on field then It shows IP in reference field. like below

Omkar_Ranjane_0-1681816436814.png

I want to show different field as display value instead of IP.

Omkar_Ranjane_1-1681816554951.png

Configuration Item : 

Omkar_Ranjane_2-1681816589319.png

 

How can I achieve it ? I want to show application name/CI Name instead of name.

 

Thanks in advance

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Omkar_Ranjane In order to make the Application or CI Name visible in the Configuration item field you need to configure the display=false on Name field on cmdb_ci table and set Display = true either on Application Name or CI Name field (At any given time only one field can remain true for display). 

 

For more information on display field refer to this documentation https://docs.servicenow.com/en-US/bundle/utah-platform-administration/page/administer/field-administ...

 

Screenshot 2023-04-18 at 11.49.24 PM.png

View solution in original post

3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@Omkar_Ranjane In order to make the Application or CI Name visible in the Configuration item field you need to configure the display=false on Name field on cmdb_ci table and set Display = true either on Application Name or CI Name field (At any given time only one field can remain true for display). 

 

For more information on display field refer to this documentation https://docs.servicenow.com/en-US/bundle/utah-platform-administration/page/administer/field-administ...

 

Screenshot 2023-04-18 at 11.49.24 PM.png

@Sandeep Rajput Will it also applied on extended table if I change the display value true from base table ?

Yes, if you have not set the display field on child table then it should ideally be applied on child tables too.