Adding version on asset publish
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?
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?
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:
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.