UI Page using lightweight_glide_list2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 04:58 AM
Hello,
I have a UI page that uses the macro "lightweight_glide_list2" (see below). I need to filter the list by adding the query to the control_name however when I do that I can't call the macro in the Processing Script. If I change the control_name to something like "resourceGroup" obviously I cannot filter out all the records I don't want to see but the Processing Script works. Thoughts? Thanks for any assistance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 09:52 AM
I found my answer in another post. I had to modify the macro to include "query".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2024 10:58 AM
Hi,
You can get sys_ids of selected records by using below code in client script.
var grList = gel("select_0QUERY:active=true^type=de35bd97db9427000ff3fb131d961958^name!=PMO^ORname=NULL^name!=PMO Management^ORname=NULL");
var grListOptions = Array.from(grList);
if(grListOptions.length){
alert(grListOptions[0].value);
}