Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Content fragment usage report

Avatar

Level 4

If I create a content fragment then use that on x number of different pages, is there are way of generating a list or report of pages that are using that fragment?

3 Replies

Avatar

Level 10

Out of the box - i do  not believe there is a way. You would need to build a custom service that would search the JCR for a given fragment.

Avatar

Community Advisor

You can easily get the list by writing a script and running it on groovy console.

Avatar

Level 2

Hi @alistairp781078 

You can use ACS Commons -> Reports -> Component Instances Report by specifying resource type and path like below to generate usage of CF's in site pages and option to download csv file which has references of pages using all CF's created for site. You can filter by CF to get the report. 

you can also create custom report for requirement 

 

Sudharsan_Selv1_0-1640851539703.png

 

 

http://localhost:4502/var/acs-commons/reports/sample-component-instances.html

 

Thanks

Sudharsan