- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2018 05:42 AM
Hello,
in Incident I have added the field "Change Request" (type:reference). When the field is not empty, it shows the Change Request.Number. How it can show Change Request.ID?
Solved! Go to Solution.
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2018 05:50 AM
it will always show you the number. this is OOTB behavior. if you will change in the "change_request" table column "display" true on "id" field then it will show you the id . but i would not suggest to make the changes here on table , it will impact globally .
you can either create another custom field while selecting the change request it will populate the ID in your custom field.
for this you have to write onChange() client script and use callback function to set the id in your custom field.
eg:
var cg= g_form.getReference('change_request', showcallerTitle); //make sure you mention the correct column name
function showcallerTitle(cg) {
alert(cg.id); // make sure you mention the correct column name
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2018 05:45 AM
The reference field always shows the Display value. I f you want to change it's display value the you can achieve this by Dictionary override.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2018 05:50 AM
it will always show you the number. this is OOTB behavior. if you will change in the "change_request" table column "display" true on "id" field then it will show you the id . but i would not suggest to make the changes here on table , it will impact globally .
you can either create another custom field while selecting the change request it will populate the ID in your custom field.
for this you have to write onChange() client script and use callback function to set the id in your custom field.
eg:
var cg= g_form.getReference('change_request', showcallerTitle); //make sure you mention the correct column name
function showcallerTitle(cg) {
alert(cg.id); // make sure you mention the correct column name
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2018 06:03 AM
Thank you for the response.
Harshvardan, I will go with the "change_request" table column "display" true on "id" field", because we want to make the impact globally.