Expand my Community achievements bar.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Find the Components used on a page in AEM6.3

Avatar

Level 1

Hi Team,

We want to find out the all the components details for a page in our application. How we will get this information from  AEM instance. Like as Quey. Kindly help to me for this questions with examples

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]
[Comments is to ask about the operation of the Forum, not a specific program]
[Moved from the Comments forum to the specific Program forum... Mod]

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

Hi,

In addition to what Arun had mentioned, we can actually generate components report (AEM OOTB report) to identify what all components were used in a particular page.

In order to generate this report, you need to follow the steps below:

1) Navigate to http://localhost:4502/etc/reports/compreport.html

2) Click on edit and then enter the required Root path (page path) in order to find what all components are used in the selected page as shown in the below screenshot.

component-report.PNG

3) Now click on OK. You should be able to see the list of components that were used in the selected page.

Also you can hit http://localhost:4502/etc/reports/compreport/jcr:content/report.data.json

It'll generate JSON report. Copy paste the generated JSON output in below URL and click on JSON to excel if you'd like to generate excel sheet of the components report.

http://www.convertcsv.com/json-to-csv.htm

We hope this information helps!

Regards,

Lavanya Malyala

View solution in original post

2 Replies

Avatar

Community Advisor

Hi,

Add ?debug=layout at the end of URL and you will see all the components and details for a page in AEM Author.

If you are looking to the components used in all the pages then you can write Query.

Arun Patidar

AEM LinksLinkedIn

Avatar

Correct answer by
Former Community Member

Hi,

In addition to what Arun had mentioned, we can actually generate components report (AEM OOTB report) to identify what all components were used in a particular page.

In order to generate this report, you need to follow the steps below:

1) Navigate to http://localhost:4502/etc/reports/compreport.html

2) Click on edit and then enter the required Root path (page path) in order to find what all components are used in the selected page as shown in the below screenshot.

component-report.PNG

3) Now click on OK. You should be able to see the list of components that were used in the selected page.

Also you can hit http://localhost:4502/etc/reports/compreport/jcr:content/report.data.json

It'll generate JSON report. Copy paste the generated JSON output in below URL and click on JSON to excel if you'd like to generate excel sheet of the components report.

http://www.convertcsv.com/json-to-csv.htm

We hope this information helps!

Regards,

Lavanya Malyala