How to find or count all pages in AEM project? | AEM Community Blog Seeding

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

22-11-2020

BlogImage.jpg

How to find or count all pages in AEM project? by Initialyze

Abstract

We may find all the AEM pages using the SQL query. Run the below SQL query to get the count and list of all the cq:Page from your project.

SELECT * FROM [cq:Page] AS page WHERE ISDESCENDANTNODE(page ,"/content/project")
Below is the screenshot of the result and query execution steps. You may replace the path with your own project path e.g. /content/project

Read Full Blog

How to find or count all pages in AEM project?

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager

Replies

Avatar

Avatar

Ravi_Pampana

MVP

Avatar

Ravi_Pampana

MVP

Ravi_Pampana
MVP

23-11-2020

This is helpful. We can also find the count using query builder in json format

 

https://www.blogger.com/blog/post/edit/1528470937317694714/167344651072834696

 

Screen Shot 2020-11-23 at 11.35.00 AM.png