The CreatorCon Call for Content is officially open! Get started here.

I need the display field in the cmdb_ci_business_app table to not be the name field, how do I get it

Lbec
Tera Expert


I created a field called "display name" to concatenate the application name and state and I need this field to be the one that is displayed in references and ci relationships.
I put the "display" check and the name field still appears, is there something I'm missing to modify?

field "display name":

Lbec_0-1691434088138.png

Field "Name":

Lbec_1-1691434165016.png

 

4 REPLIES 4

Sohithanjan G
Kilo Sage

Hi

The field in the dictionary for the table in question or a parent table has been set so that the display field is checked. You can only have one field per table set to display true. This is the field that will be used for the value for any reference fields that use this table.

For example, if the first_name field was set to display true on the sys_user table that means that any reference fields against sys_user would show the first name for the display value of that reference field. The first step is to confirm that the right value is marked as display=true for the target table your reference field is pointing to (not the table the reference field is part of).

The second place you can affect the display value for a reference field is with a dictionary override. These are stored in the sys_dictionary_override table. You can see all the records that would affect the display value of a table using the following URL:
/sys_dictionary_override_list.do?sysparm_query=display_override%3Dtrue
Remember to look for entries that are for the table your reference field is pointing to (not the table the reference field is part of). This would include parent tables for the target table as well.

Please mark as Accepted Solution if this solves your query and HIT Helpful if you find my answer helped you. This will help other community mates too..:)

Bert_c1
Kilo Patron

Hi @Lbec 

 

I tested @Sohithanjan G recommendation, creating a dictionary override on a field for the 'cmdb_ci_business_app' table, and it works. I could not set the Display field due to security (I log in as admin).

Lbec
Tera Expert

I don't have any other field marked for Display field, neither is it this nor is it the mother tables 😞
I don't know why it doesn't appear, I don't have cancellations for this either

Bert_c1
Kilo Patron

Please post a screenshot of the dictionary record for the '_display_value' field.and the related list of Dictionary Overrides:

 

Screenshot 2023-08-08 151858.png