Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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