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

disable unpublish of expired assets

Avatar

Level 2

Hi Team,

 

Is there a way to disable/stop the unpublish or deactivate of published assets post expiry date is reached.

the configuration for asset expiry notification doesn't have an option to enable/disable the service and couldn't locate bundle for the particular PID.

 

Thanks,

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @sayabannatole,

Per the official Adobe docs, the purpose of Asset Expiry is to deactivate/unpublish the published assets that may have licensing requirements. Hence it makes sense not to have that as an option of whether to deactivate or no. 

Vijayalakshmi_S_0-1622125477884.png

 

OSGI component responsible for this functionality is - com.day.cq.dam.core.impl.ExpiryNotificationJobImpl which handles the send notification and deactivation logic.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @sayabannatole,

Per the official Adobe docs, the purpose of Asset Expiry is to deactivate/unpublish the published assets that may have licensing requirements. Hence it makes sense not to have that as an option of whether to deactivate or no. 

Vijayalakshmi_S_0-1622125477884.png

 

OSGI component responsible for this functionality is - com.day.cq.dam.core.impl.ExpiryNotificationJobImpl which handles the send notification and deactivation logic.

Avatar

Community Advisor

You can try changing the cron expression or disable the time-based check of expiry from Adobe CQ DAM Expiry Notification config.



Arun Patidar