- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 02:53 AM
Hi Team ,
am trying to fetch the display name ,but am getting the sysid of the references field
$scope.page.g_form.getValue('shipto')
am trying to get the value using below syntax but not working
$scope.page.g_form.getDisplay('shipto');
Please help me with proper syntax
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 02:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 02:59 AM
The function name is not correct. It should be getDisplayValue().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 03:16 AM
@String ,
Could you please try below, because "getDisplayValue" works under the Server side script using gs library:
$scope.page.g_form.getDisplayBox('your reference field name').value;
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact!