- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 02:37 AM
Hi all,
in my catalog item I'm using List Collector with Variable attributes set as glide_list=true. This causes List Collector to display not as two lists, but as single list with search box.
I prefer this display, because records are not loaded during page load, but on demand in popup.
I would like to limit the number of selected records in the list and have my scripts prepared.
However, if I create onchange Catalog Client Script on this variable, the onchange is not fired when adding new records.
May it be, that onchange script on List Collector is not supported for this alternative display of List Collector?
Any ideas how can I limit the number of records in this type of List collector?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 05:27 AM
Hi Harsh,
which version of ServiceNow is running your instance? I have Helsinki and it does not work.
When I tried it on my personal instance which is Jakarta, then it works!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 04:25 AM
Hi Harsh,
you are right, I didn't notice that.
However, when you are adding items via magnifier glass & popup window, the script is not working.
I would need to have reliable script for both cases.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 04:44 AM
sorry i did not understand. can you please explain it with screenshot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 04:49 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 05:03 AM
Hi Peter,
when i click on magnifying glass and select the user then it gives me alert() .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 05:27 AM
Hi Harsh,
which version of ServiceNow is running your instance? I have Helsinki and it does not work.
When I tried it on my personal instance which is Jakarta, then it works!