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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Deleting expired assets

kavithap4977708
Level 2
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
Jörg_Hoh
Correct answer by
Employee
Employee
3 Replies
Jörg_Hoh
Correct answer by
Employee
Employee

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...

kautuk_sahni
Employee
Employee

+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