Highlighted

How to count number of CRCResults in list<CRCResult>?

Avatar

Avatar

backroom_boy

Avatar

backroom_boy

backroom_boy

27-01-2011

I obtained the list<CRCResult> from GetContentSpace  operation. I need  to know ,how many files  are in the folder in ContentSpace (from wchich i've obtained list<CRCResult>). How should I figure it out? I tried  get-list-item-count  to count,for example, number of attributeMap in list, didn't work out.

Thanks in advance.

Replies

Highlighted

Avatar

Avatar

MrCartas

Avatar

MrCartas

MrCartas

21-02-2011

Hi!

I'm afraid I cannot answer as to how this is achieved through using the default operations within the Workbench processes, but it's quite simple if you were to make a custom component in Java to do this for you.

Given any List<CRCResult>, just call the .size() function and you'll get the count back.