Deleting expired assets | Community
Skip to main content
New Participant
February 27, 2017
Solved

Deleting expired assets

  • February 27, 2017
  • 3 replies
  • 1374 views

We have a requirement to automatically delete assets based on the custom property expiration date.

 

Please advise how to do thatin AEM6.2.

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

Please check [1] and adjust the Adobe CQ DAM Expiry Notification workflow.

Jörg

 

[1] https://docs.adobe.com/docs/en/aem/6-2/author/assets/managing-assets-touch-ui/drm.html#Search%20expired%20assets

3 replies

kautuk_sahni
Employee
March 1, 2017

+1 with what Jorg said here.

 

If you need to write your own workflow/service for this then you can use DamUtil class as well.

Link:- https://docs.adobe.com/docs/en/aem/6-2/develop/ref/javadoc/com/day/cq/dam/commons/util/DamUtil.html

~kautuk

Kautuk Sahni
joerghoh
joerghohAccepted solution
Employee
February 28, 2017

Please check [1] and adjust the Adobe CQ DAM Expiry Notification workflow.

Jörg

 

[1] https://docs.adobe.com/docs/en/aem/6-2/author/assets/managing-assets-touch-ui/drm.html#Search%20expired%20assets

Prince_Shivhare
New Participant
February 28, 2017