Reference qualifier in lightweight glide list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2015 02:13 AM
I want to add reference qualifier in lightweight glide list for macro with label variabletype. can some one help me on this!
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<tr>
<td width="10%" style="color:black;" align="right" background="gray"></td>
<td width="40%">
<g:macro_invoke macro= "lightweight_glide_list1" id="ApplicationRoles_id" name="Application_roles_name" reference="u_iam_application_roles" can_write="true" control_name="Application_roles_list" list_data="${jvar_change_subsystem}"/> </td></tr>
</j:jelly>
Based on the application field name(ex-servicenow),field Roles to be added should filter the roles which are associated with servicenow application name should appear and above is the UI macro code which is used for the roles to be added field with type macro with label.
Need a code for reference qualifier to filter our the roles depending on the application name.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2019 10:04 AM
Hi,
were u able to get any solution on this...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2019 06:10 PM
You can't pass the reference qualifier and actually access the list afterward. You can do one or the other if you use the OOTB macro.
Make your own copy of the lightweight_glide_list and modify the "onclick="reflistOpen" line to the following:
onclick="reflistOpen( '${jvar_control_name_actual}', 'not', '${jvar_reference}', null, null, null,'${jvar_ref_qual_elements}');mousePositionSave(event);"
Then when you assign the reference qualifier normally it will pick it up.
i.e. now
<j:set var="jvar_ref_qual_elements" value="QUERY:someENCODEDQUERY" />
will work in the normal list and the click to open list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2020 09:25 AM
I used like this:
<j:set var="jvar_ref_qual_elements" value="QUERY:active=true^typeLIKE74af88.................853d" />
It's filtering second part correctly but active=true is not filtering.
Any idea?
Thank you.
abrouf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2023 07:25 AM
I have changed to above method but lookup it's not working.