Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

Adding version on asset publish

Avatar

Level 4

Hi,

Noticed that version is not created on publishing an Asset and content fragment. It is getting created on publishing a page. How can we add a version during publishing an asset?

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Employee Advisor

Versioning in Assets and Pages work separately.

A version is not created on Asset Publish, this is default or OOTB behavior of Assets in AEM.

 

You might need a simple custom solution, where you can listen to the replication events of your assets and add the logic to create Asset version programmatically.

Below link can become handy in creating a version programmatically:

https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/adobe/granite/ass...

@Ashwin_Raju  

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort

Avatar

Korrekte Antwort von
Employee Advisor

Versioning in Assets and Pages work separately.

A version is not created on Asset Publish, this is default or OOTB behavior of Assets in AEM.

 

You might need a simple custom solution, where you can listen to the replication events of your assets and add the logic to create Asset version programmatically.

Below link can become handy in creating a version programmatically:

https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/adobe/granite/ass...

@Ashwin_Raju