Variable is not working in UI page in HTML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 01:42 AM
Hi team,
My requirement is based on assignment group i want to to restrict options in pop window that is created from UI page.
UI page HTML:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 02:48 AM
so what's the outcome and what's the issue?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 02:52 AM
few corrections
1) g:evaluate cannot include HTML tags
2) where is this defined? jvar_reason_display_val and jvar_reason_val
both the variables I could not find
<option value="${jvar_reason_val}">${jvar_reason_display_val}</option>
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 03:01 AM
Hi Ankur,
My issue is i am not getting assignment group value,
these two 2 defined at starting of the code, by mistake "close" removed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 03:13 AM
So what's the issue?
Did you check by adding gs.info() in the g:evaluate where you are using GlideRecord whether you are able to get row count or not?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader