How to find References to Components in the site hierarchy
Is there any default feature that is available in AEM 6.1 and later versions to find out the references to components in the entire site hierarchy and a way to activate them in bulk or in chunks.
We had a situation recently where a component's[#1] HTML has been modified and we need to flush the cache of all the pages which are referencing the component[#1]. Even though it is a simple HTML change but the effect we had on the site is huge as the component fall under a application specific General Group [For ex: AppName-General.] which can be used anywhere in the site. In these scenario's it would be helpful to have a wizard view to chose the resource type or select a component, find all its references and activate all the pages.
http://localhost:4502/etc/reports/compreport.html I believe this report can only show the number of page references available. However, It doesn't have any further ways to activate those pages. Other alternative is to delete the dispatcher cache files which doesn't seem to be an ideal one when the content is huge. This can even be achieved programmatically.
Even though this is not any regular operation in the project implementations, but it can be very handy in above situations.