I need the display field in the cmdb_ci_business_app table to not be the name field, how do I get it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 11:50 AM
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":
Field "Name":
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 12:01 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 12:44 PM
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2023 12:06 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2023 12:19 PM
Please post a screenshot of the dictionary record for the '_display_value' field.and the related list of Dictionary Overrides: