DAM assets renditions delete

Avatar

Avatar

AEMnewbie

Avatar

AEMnewbie

AEMnewbie

03-09-2020

Is there any tool , which could help us delete all the renditions for all the assets in /content/dam?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Nupur_Jain

MVP

Avatar

Nupur_Jain

MVP

Nupur_Jain
MVP

04-09-2020

Hi @AEMnewbie 

 

  • There is no tool as such to delete renditions of assets from AEM, but you can write your own servlet/service which does this for you. 
  • You can run this servlet/service once and iterate over dam hierarchy to remove renditions from assets.
  • You can use  DAM assets API https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/co... to remove renditions.
  • Also, do make sure if you don't need renditions for assets in future, you should remove renditions creation step from  "DAM Update Asset" workflow
  • Screenshot from 2020-09-04 17-07-54.png

 

Hope it helps!

Thanks

Nupur

Answers (0)