Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Deleting expired assets

Avatar

Level 2

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

 

Please advise how to do thatin AEM6.2.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor
3 Replies

Avatar

Correct answer by
Employee Advisor

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%20expi...

Avatar

Administrator

+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