Expand my Community achievements bar.

SOLVED

DAM assets renditions delete

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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