Get count of records in list collector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 10:59 PM
Hi Team,
I'm using a list collector in my record producer. Is there a way to determine the number of records in the list collector on a client script?
I'm populating the value of list collector through a Script Include (not client callable) .
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 11:35 PM
How would I get the total records in a list collector, the above looks like it would give me the count of selected items from list collector.
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 11:50 PM - edited 05-15-2023 11:50 PM
Dear @JohnnySnow
List Collector is refernce to the any table, lets consider user table. You can make glide query or GlideAjax usinf client script to the sysuser and return the getRowCount().
- Kailas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 02:29 AM
Dear @JohnnySnow
Please find the below screen shots
Please feel free to reach me in case any queries.
- Kailas