How to find brief history of component? | Community
Skip to main content
Level 3
October 16, 2015
Solved

How to find brief history of component?

  • October 16, 2015
  • 4 replies
  • 1281 views

Hi,

I have created one component. I just want to know in which page and how many places(pages) this component is being used.
Is there any way to find in CQ?

Thanks

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 JustinEd3

Hi,

Assuming your component is included dynamically, you can do this with a search. Something like //element(*)[@sling:resourceType='myco/components/content/foo']

Will show you all the places where the foo component is used.

Regards,

Justin

4 replies

Runal_Trivedi
Level 6
October 16, 2015

You can use OOTB Component Reporting.

http://localhost:4502/etc/reports/compreport.html

Here you can also add filter if you are looking for usage of specific component under the content tree.

- Runal

JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

Assuming your component is included dynamically, you can do this with a search. Something like //element(*)[@sling:resourceType='myco/components/content/foo']

Will show you all the places where the foo component is used.

Regards,

Justin

Level 3
October 16, 2015

Thanks Justin..It is showing all the places where the foo component is used...:) Can you please tell me how can I learn such queries in CQ? Is there any doc available in Adobe site?

 

Thanks

Adobe Employee
October 16, 2015

You might want to look at http://docs.adobe.com/docs/en/crx/2-3/developing/searching_in_crx.html and the various pages in the JCR specification linked to from that page.