- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2016 03:38 AM
Hey,
Could anyone please advise on how to get the display value for any reference field (CI field) using the onSubmit Catalog Client script?
Using g_form.getValue('u_device_ref_1'), I am getting the sys_id of this field
And with g_form.getDisplayValue('u_device_ref_1'), I am getting blank value.
Thanks in Advance,
Rathika.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2016 03:56 AM
HI Rathika,
You can use g_form.getDisplayBox('field_name');
Thanks
Prashant
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.
********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect
Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2018 12:46 PM
This does not work for me but I'm trying it on a list collector as I need to display the selected item in a text field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 01:09 AM
I need display value of List type field, do you have any idea how to do so.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 07:04 AM
I ended up having to create a script include to do a lookup on my array of values from my list collector and return an array of values. It will need to be client callable so so you can use GlideAjax.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2024 03:10 AM
Im getting this :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2019 12:30 AM