Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

LastReplicationDate update

Avatar

Level 3

Is there a way to update the metadata LastReplicationDate of an asset through API or the CRX on AEM?


Topics

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

3 Replies

Avatar

Community Advisor

Hi, 

Yes, you can do that using the asset API (https://experienceleague.adobe.com/en/docs/experience-manager-65/content/assets/extending/mac-api-as...). Although it is not recommended, this property is auto-updated when the replication event is triggered. If you need to rely on this for some reason, I think you should create your own property and make modifications to that new property.

Just for reference, this worked for me:

EstebanBustamante_0-1710860326296.png

EstebanBustamante_1-1710860361769.png

 

Hope this helps



Esteban Bustamante

Avatar

Administrator

@serenapitotti Did you find the suggestion from user helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni

Avatar

Level 3

Currently trying to handle it following @EstebanBustamante's suggestions. Will keep the community posted.