Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

AEM best practices and development guide | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

AEM best practices and development guide by kiransg

Abstract

Requirement:
Get the list of broken asset references to unpublish and remove them repo to improve the system stability and performance.

Introduction:
How do assets get published?

The author uploads the images and publishes the assets
Create a launcher and workflow which process assets metadata and publish the pages
Whenever we publish any pages and if the page has references to assets, then during publishing, it asks to replicate the references as well.
What happens when the page is unpublished?

When the page is deactivated, assets referenced to the page will not be deactivated because this asset might have reference to the other pages hence out of the box assets won’t be deactivated.

If we perform cleanup, deactivate and delete old pages, we might not be cleaning up assets related to this page.
Advantages of cleaning up old assets?

Drastically reduces repository size
Improves DAM Asset search
Improves indexing

Read Full Blog

AEM best practices and development guide

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
0 Replies