AEM best practices and development guide | AEM Community Blog Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
March 31, 2022

AEM best practices and development guide | AEM Community Blog Seeding

  • March 31, 2022
  • 0 replies
  • 455 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.