How to find or count all pages in AEM project? | AEM Community Blog Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
November 23, 2020

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

  • November 23, 2020
  • 1 reply
  • 7234 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Ravi_Pampana
Community Advisor
Community Advisor
November 23, 2020

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

 

https://ravipampana.blogspot.com/2020/11/aem-results-count-using-query-builder.html