Get count of records in list collector

JohnnySnow
Kilo Sage

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) .

 

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.
7 REPLIES 7

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.

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.

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().

 

KB18_0-1684219838625.png

 

Please hit the thumb Icon and mark as correct in case I help you with your query!!!
- Kailas

Dear @JohnnySnow 

Please find the below screen shots 

KB18_2-1684229343121.png

 

 

KB18_0-1684229203129.png

KB18_1-1684229314831.png

Please feel free to reach me in case any queries.

Please hit the thumb Icon and mark as correct in case I help you with your query!!!
- Kailas