Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
backroom_boy
Level 1

Likes

0 likes

Total Posts

25 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
backroom_boy
Level 1

Likes

0 likes

Total Posts

25 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
backroom_boy
Level 1

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

Avatar

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.