- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 04:49 AM
Hi,
I just want to get the value of a field of a reference type that is in a form in a UI actions. g_form.getDisplayValue('requester') returns number.
ex)RITM0000001
However, when I run g_form.getValue('requester'), it returns the sys id of the requester.
How can I get the value of requester by display value?
Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 04:52 AM
if you are checking client side g_form.getDisplayBox('requester').value
if you are checking server side current.requester.getDisplayValue()
if it helps click on correct answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 04:52 AM
if you are checking client side g_form.getDisplayBox('requester').value
if you are checking server side current.requester.getDisplayValue()
if it helps click on correct answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 04:59 AM
Hi,
Thank you.
I worked it!
Regards,