Reference Qualifier to filter in UI Macro-lightweight_glide_list partially works

abrouf
Kilo Sage

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 

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

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.

View solution in original post

4 REPLIES 4

Harsh Vardhan
Giga Patron

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.

It's working as expected. Thank you Harsh for your input.

How would we get the get the value from this passed to the client script 

Sanjay27
Tera Contributor

Hi,

 

How can we retrieve the values selected in glide list in the processing script?