내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

AEM 6.5 find all pages that use a specific Template

Avatar

Level 8

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.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor and Adobe Champion

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.

 

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Employee Advisor

@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.

Screenshot 2022-08-08 at 6.08.03 PM.png

 

[1] https://adobe-consulting-services.github.io/acs-aem-commons/features/report-builder/index.html 

Avatar

Level 3

Hi @anasustic ,

You can run the query to fetch the list. Please refer to the below link for the same.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-blogs/how-to-search-and-ge...

 

Thanks,

Anil

Avatar

정확한 답변 작성자:
Community Advisor and Adobe Champion

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.

 

Avatar

Level 8

Thank you very much. It worked nicely.