- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 06:55 AM
Hi,
As per a requirement need to display the requested for field of a Request , but as of now sys id of the requested for field is displaying and not name.
My script is on UI action, where g_form.getValue(requested_for) is not working and also getDisplayValue is also not working.
Display is checked in configure dictionary for the field.
Please help us how to resolve it. Need to get display name of the reference field
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 06:58 AM
Hi,
to get the display value of a reference field on client side, Use the below
g_form.getDisplayBox('<field name>').value
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 06:58 AM
Hi,
to get the display value of a reference field on client side, Use the below
g_form.getDisplayBox('<field name>').value
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 06:59 AM
Try the below
g_form.getDisplayBox('requested_for').value