Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Asset versions are getting created when asset is modified or published. Can we stop creating versions on modification?

Avatar

Level 2

Asset versions are getting created when asset is modified or published.I want to create asset version only on publish but not on asset modification. Can we stop creating versions when asset is modified? Can we differentiate asset version created by modification and publish? Also can we store versions in different folder?

3 Replies

Avatar

Level 8

Disable the version manager config in http://localhost:4502/system/console/configMgr

look for config : Day CQ WCM Version manager. Uncheck the check box

Avatar

Level 2

Currently by default, version is created on every modification of asset? Is there a configuration to disable it?

Avatar

Community Advisor

Hi,

There is no configuration to disable versioning for assets while assets are modified.

If you don't want to keep Version for assets, you can delete version from JCR using Version Purging API or schedules Version Purging

more info

Automatic version creation for an asset when it is modified.

Or you can disable versioning for all when page/assets get activated as suggested by Hemant



Arun Patidar