Create report of blocktype and pagetype usage

Vote:
 

Hi.

We have a project where there is some blocktypes (in this case) are deprecated and should be replaced with others. The block could be structured under a page (For this page) or globally in the Block assets folders.

Ideally I would like to create a report where all blocktype and/or pagetypes are listed and I could see every instance (with a link to edit the instance) and how many times it is referenced (secondary, due to I can see this when editing the block).

Is there anything like this today OOTB, or something I could build myself using IContentRepository and IContentModelUsage?

Thanks!

#325900
Jul 23, 2024 7:34
Vote:
 

There are a couple examples of what you're looking for, I think:

N1990.Episerver.Cms.Audit

Eshn.ContentTypeUsage

#325907
Jul 23, 2024 15:02
Jonas Boman - Jul 29, 2024 7:57
Thanks Daniel. I've taken inspiration from the repos and developed my own report/view; a scheduled job writing to DDS and a view for editors/admins that presents the data written to DDS.

Thanks!
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.