Hi
I would like to find all pages that use a specific template in AEM 6.5. How can I do that?
I tried the Component report <servername>/miscadmin#/etc/reports/compreport but that did not do what I need.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
You can run query to find all pages created with specific template in querydebug tool.
Open http://localhost:4502/libs/cq/search/content/querydebug.html
Add below details :
type=cq:Page path=/content/<your-project> 1_property=jcr:content/cq:template 1_property.value=<specific template path>
then click search. You will get all pages in results created with specific template.
@anasustic Use ACS Commons Report Builder [1] capability, it provides Page Report, which allows you to select root page and template, and list down all pages created with the selected template used root path.
[1] https://adobe-consulting-services.github.io/acs-aem-commons/features/report-builder/index.html
Hi @anasustic ,
You can run the query to fetch the list. Please refer to the below link for the same.
Thanks,
Anil
You can run query to find all pages created with specific template in querydebug tool.
Open http://localhost:4502/libs/cq/search/content/querydebug.html
Add below details :
type=cq:Page path=/content/<your-project> 1_property=jcr:content/cq:template 1_property.value=<specific template path>
then click search. You will get all pages in results created with specific template.
Thank you very much. It worked nicely.