Strategies for managing Orphaned content?


I am running into an interesting situation on my Epi projects.  The scenario is simple: A page is added, blocks are added locally to the page, and then the page is later deleted.  What I am finding is that the blocks still exist in the system even though their parent page is removed.  I can pull up their edit URL directly if I know the Content ID, but cannot delete the block from this interface.

How do you properly managed orphaned blocks on your projects?  Should I create a scheduled task that purges unused blocks periodically?  Is there a community plugin that will give me a view into unused blocks?

Aug 25, 2020 13:48

You can check out the Episerver audit tool to find unused content for instance

Aug 25, 2020 14:04

We recently created a scheduled job to remove unused (from code) content types with all the content it uses. See the first file in this Gist:

Aug 25, 2020 15:17
* 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.