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
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies