How to show a field name in reference field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2017 05:39 AM
Hi All,
I have a requirement to show a record's short description instead of the number of that record. Let me elaborate the requirement a bit for better understanding.
I have a reference field named "Release" in Change_Request Table and the reference field refers to rm_release table. When I select a record it takes the number of that record but my requirement is like within that "Release" field we want the short description of that record will be populated instead of that number.
I need some suggestions to execute it.
Regards,
Sreeja

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2017 05:46 AM
The field that is displayed in a reference field is set by the table being referenced. If you look at the table definition for the target table, you'll see that a particular field has the "Display" column set to "true".
This field will always be the one that is shown when you reference that table. You can change it, but that will change what is seen everywhere you reference that table.
It sounds to me like you should probably use a string field, and display the description based on the result of a query, or the result of dot-walking.
I completely forgot about dictionary overrides. ctomasi is correct. I blame lack of caffeine.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2017 05:57 AM
That funny, I blame caffeine for a lot of things. That's why I gave it up about 20 years ago!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2017 05:48 AM
Hi Sreeja,
Update the dictionary entry on the short_description field for that record. (Right click on the label and select Configure Dictionary) Since short_description is likely inherited from a parent class, you will want to create a dictionary override. DO NOT check "Display" on the task.short_description record or it will change this for everyone (incident, problem, etc.)!!!
Go to the bottom of the form and create a new record on the Dictionary Overrides related list.
Select the table at the top of the form to say "This is how short description is going to behave for this table"
and at the bottom of the form you'll see a box that says "Override display value"
Submit and you're done.
http://wiki.servicenow.com/index.php?title=Dictionary_Overrides
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2017 06:49 AM
Thanks Chuck for your response. But currently I am facing a problem that after dictionary override in change form the release number is being displayed instead of the change number.
Actually in Change_request table we have a field called "Release Package" field which is the parent field inherited form Task table. So, when I made dictionary override on "parent(Release Package)" field its showing the problem what I have said above.
Can anyone please help me to solve this problem.
Regards,
Sreeja