I have question on AEM custom component , How can we check how many places AEM component is used in the content node . If I modify that component needs to know how many places it will reflect . SQL2 we have the option to fetch, Please let me know if we have any solution for this.
Use the below query builder predicate as a reference to list all the paths where the component is used.
path=/content/we-retail type=nt:unstructured //we can't use cq:Page type directly. Component under content path resides in this type (hierarchy of component differs from page to page based on where we have authored) 1_property=sling:resourceType 1_property.value=weretail/components/content/text p.limit=-1