Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

DAM assets renditions delete

AEMnewbie
Level 4
Level 4

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

1 Accepted Solution
Nupur_Jain
Correct answer by
Community Advisor
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
Nupur_Jain
Correct answer by
Community Advisor
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