- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2020 12:38 PM
Hello gurus,
I am trying to use Reference Qualifier to filter active=true & containing catalog in UI Macro-lightweight_glide_list partially works. It filtered correctly for normal users including ITIL role but active=true not filtered whenever try as admin.
I used these codes alternatively in UI Macro, also in UI Page from where the Macro is called.
<j:set var="jvar_ref_qual_elements" value="ENCODEDQUERY:active=true^typeLIKE74af88c6c611227d0066386e74dc853d" />
OR
<j:set var="jvar_ref_qual_elements" value="QUERY:active=true^typeLIKE74af88c6c611227d0066386e74dc853d" />
Any input is greatly appreciated.
Thank you.
abrouf
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2020 10:23 AM
Updated Code:
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="true" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<p><b>Add Groups:</b></p>
<j:set var="jvar_list_data" value="${jvar_question_value}" />
<j:set var="jvar_reference" value="sys_user_group" />
<j:set var="jvar_can_write" value="true" />
<j:set var="jvar_ref_qual_elements" value="QUERY:type=1cb8ab9bff500200158bffffffffff62^active=true" />
<j:set var="jvar_control_name" value="${jvar_question_name}" />
<j:set var="jvar_control_name" value="QUERY:type=1cb8ab9bff500200158bffffffffff62^active=true" />
<j:set var="jvar_not_focused" value="true" />
<g:lightweight_glide_list />
<g:dialog_buttons_ok_cancel ok="saveGroups()" cancel_type="button" />
</j:jelly>
If my answer helped you, kindly mark it as correct and helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2020 10:23 AM
Updated Code:
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="true" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<p><b>Add Groups:</b></p>
<j:set var="jvar_list_data" value="${jvar_question_value}" />
<j:set var="jvar_reference" value="sys_user_group" />
<j:set var="jvar_can_write" value="true" />
<j:set var="jvar_ref_qual_elements" value="QUERY:type=1cb8ab9bff500200158bffffffffff62^active=true" />
<j:set var="jvar_control_name" value="${jvar_question_name}" />
<j:set var="jvar_control_name" value="QUERY:type=1cb8ab9bff500200158bffffffffff62^active=true" />
<j:set var="jvar_not_focused" value="true" />
<g:lightweight_glide_list />
<g:dialog_buttons_ok_cancel ok="saveGroups()" cancel_type="button" />
</j:jelly>
If my answer helped you, kindly mark it as correct and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2020 10:36 AM
It's working as expected. Thank you Harsh for your input.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2022 11:10 AM
How would we get the get the value from this passed to the client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 08:56 AM
Hi,
How can we retrieve the values selected in glide list in the processing script?