Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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