Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Query Builder

Avatar

Former Community Member

    Hello,

Do we have a simple query or any other simple way to figure out all the pages where a certain component is getting referenced.

 

Thanks,

Sonali.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

property=sling:resourceType
property.value=give the resource type of the component.

Example

property=sling:resourceType
property.value=foundation/components/carousel

You can check this under this path http://localhost:4502/libs/cq/search/content/querydebug.html for local testing

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

property=sling:resourceType
property.value=give the resource type of the component.

Example

property=sling:resourceType
property.value=foundation/components/carousel

You can check this under this path http://localhost:4502/libs/cq/search/content/querydebug.html for local testing