Query Builder | Community
Skip to main content
January 6, 2016
Solved

Query Builder

  • January 6, 2016
  • 1 reply
  • 680 views

    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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mani_kumar_

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

1 reply

Mani_kumar_
Community Advisor
Mani_kumar_Community AdvisorAccepted solution
Community Advisor
January 17, 2016

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