AEM Results count using query builder | AEM Community Blog Seeding

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
Community Manager

24-11-2020

BlogImage.jpg

AEM Results count using query builder by AEM Tricks & Tips

Abstract

Using below query builder we can get the list of pages/assets count returned in json format

Page Count:
http://localhost:4502/bin/querybuilder.json?path=/content/we-retail&property=jcr:primaryType&property.1_value=cq:Page&p.limit=-1

Assets Count:
http://localhost:4502/bin/querybuilder.json?path=/content/dam&property=jcr:mimeType&property.1_value=image/gif&property.1_value=image/png&property.2_value=image/jpeg&property.3_value=image/svg+xml&p.limit=-1

Read Full Blog

AEM Results count using query builder

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager