ezhil
ezhil

Reputation: 1083

AEM query to fetch sling:resource nodes

I want to know the list of component being used in xyz site. Querying to get all the sling:resourceType nodes but it failed to fetch the details

/jcr:root/content/xyz//element(nt:unstructured)/@sling:resourceType

Has anyone has any idea about this? Please also suggest if there is any other way around to know the component list.

Upvotes: 0

Views: 1244

Answers (1)

Evaristo Carmona
Evaristo Carmona

Reputation: 306

You can use the OOTB "Component Report": http://localhost:4502/etc/reports/compreport.html

If you click "Edit" in the Editbar, you can configure the page path of your site in the "Root path" field. Edit Component Report

I think this report will show you all the info you need.

Upvotes: 1

Related Questions