Expand my Community achievements bar.

Why are asset links breaking on sites when asset expiration dates have passed?

Avatar

Level 3

Hi team, 

 

Has anyone noticed that asset links are breaking when asset expiration dates have passed? If this is a function that can be toggled on or off?

 

Best,
E

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Hi @Erika_Antkowiak 

 

That seems to be the default behavior for expired assets. The assets would have been unpublished from AEM Sites and hence there are broken links. You can update the asset expiry dates and republish those assets. I do not see a way to turn this feature off.

 

Refer this thread for additional details on this behavior - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/what-happens-when-assets-g...

 

Thanks

Narendra

Avatar

Community Advisor

Hi @Erika_Antkowiak 

Asset expiration is an effective way to enforce license requirements for assets. It ensures that the published asset is unpublished when it expires, which averts the possibility of any license violation.

This is a defalt behaviour of the workflow and when any asset is marked as expired, or reaches the expiration time, system will trigger the workflow which will unpublish the assets to ensure there is no license violation.

If you are not working with licensed assets, it is recommended to avoid using the asset expiration feature. However, if you wish to use this feature but want to prevent assets from being unpublished upon reaching their expiration date, this is not feasible out-of-the-box. To achieve this, you can develop a scheduler that runs at periodic intervals to identify published assets nearing expiration (e.g., within X days). Based on this data, you can trigger alerts to notify the relevant teams or members, allowing them to take necessary actions and prevent asset disruptions.

Ref: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/assets/administer/drm

Hope this helps.