- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 08:52 PM
Hi all,
I want to know which value would be displayed in reference field.
For example, User[sys_user] has department reference field and [name] value is displayed but when I check the Department[cmn_department] table configuration, Display is set false at all fields.
In this case, how to be determined display value.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 09:16 PM
@shun6 : Please see the below information from other community article.
A reference field must have a display value and as the docs indicate if no field is set to display = true, the platform checks for other values.
Reference fields look for the display value in the following order:
- A field with display=true in the system dictionary on the lowest sub-table for extended tables.
- A field with display=true in the system dictionary on the parent table.
- A field named name or u_name.
- The Created on field of the referenced record.
https://www.servicenow.com/community/now-platform-forum/why-is-the-display-value-of-some-fields-set-...
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 09:16 PM
@shun6 : Please see the below information from other community article.
A reference field must have a display value and as the docs indicate if no field is set to display = true, the platform checks for other values.
Reference fields look for the display value in the following order:
- A field with display=true in the system dictionary on the lowest sub-table for extended tables.
- A field with display=true in the system dictionary on the parent table.
- A field named name or u_name.
- The Created on field of the referenced record.
https://www.servicenow.com/community/now-platform-forum/why-is-the-display-value-of-some-fields-set-...
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 09:18 PM
@shun6 : As per the above explanation, as per #3, it shows name as display value from department[cmn_department] table.
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 10:52 PM
Thanks, It's very helpful !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 02:03 AM
I found the latest docs.