get MVRS values in catalog client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2022 03:13 AM
var mvrsvalues= JSON.parse(g_form.getValue('mvrs_name'));
g_form.addInfoMessage(mvrsvalues)
is it not possible to get mvrs json in catalog client script ?
I'm just trying to log the json string and it doesnt work, trying in onchange of a variable of MVRS using catalog client script for a catalog item
- Labels:
-
Request Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2022 07:16 AM
I tried to get MRVS value in onsubmit of MRVS variable set, and not onsubmit of Catalog item, as you mentioned above but it seems thats not possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2022 08:28 PM
Yes that's not possible.
Please use normal onSubmit catalog client script.
If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader