disable unpublish of expired assets | Community
Skip to main content
sayabannatole
Level 2
May 26, 2021
Solved

disable unpublish of expired assets

  • May 26, 2021
  • 2 replies
  • 1079 views

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,

 

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 Vijayalakshmi_S

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. 

 

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

2 replies

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
May 27, 2021

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. 

 

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

arunpatidar
Community Advisor
Community Advisor
May 28, 2021

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

Arun Patidar