Macro Invoke - Lightweight Glide List
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 05:06 PM
Hello,
I have a lightweight glide list on a UI page with the following invoke Macro:
<g:macro_invoke macro="lightweight_glide_list" id="user_collector" name="user_collector" reference="sys_user" can_write="true" control_name="QUERY:active=true^u_employee_type=Employee^ORu_employee_type=Contractor"/>
This functions correctly when searching for users but if I type the name of a user who does not meet the query criteria I can still select that user.
Just wondering if anyone knows how to prevent this.
Thanks,
Richo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 10:37 PM
Hi,
I would suggest to add same filter in Users List view and copy the filter and add in your UI page.
This will avoid any typo errors and will use correct backend values for choice fields.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 06:46 PM
Hi Anil,
Thanks for the reply, the query works as is when using the search function i.e. only active users who meet the criteria are displayed. If I actually type the name of a user that does not meet the criteria as shown in the screen shot (hi lighted) that user can be selected, which is incorrect.
Not sure if there is a fix for this?
Thanks,
Richo