Automatic version creation for an asset when it is modified. | Community
Skip to main content
sharsha5545
Level 2
October 4, 2018
Solved

Automatic version creation for an asset when it is modified.

  • October 4, 2018
  • 3 replies
  • 2085 views

Hi Team,

When i modify asset properties a new version is automatically created under the path " /jcr:system/jcr:versionStorage ". Asset node contains the property 'jcr:versionHistory', this is where we can find the version of the asset. I want to find the process that is responsible for the automatic version creation. Is there any way to disable the functionality of automatic version creation.

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

I don't think so there is a bug. It says that when you update image from WebDav then only versioning would be disabled.

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

Version Purging http://docs.jboss.org/modeshape/4.0.0.Final/api/org/modeshape/jcr/api/version/VersionManager.html

3 replies

arunpatidar
Community Advisor
Community Advisor
October 4, 2018

Hi,

As soon as you update metadata , a workflow(DAM_METADATA_WRITEBACK_WORKFLOW) is triggered which Write back Metadata and which triggered the event and Event is responsible to create version

Managing Assets with the Touch-Optimized UI

Arun Patidar
sharsha5545
Level 2
October 4, 2018

Hi Arun,

Thanks for sharing the document it is very useful. I have gone through the documentation, in the document it is mentioned that for the configuration 'com.adobe.cq.dam.webdav.impl.io.AssetIOHandler.name' we have the property create version. If we un-check it then versions does't get created. I have unchecked it and made modifications for my asset, still i can see that version getting created. Do you think that its an aem bug? or am i missing something.

Thanks

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
October 4, 2018

Hi,

I don't think so there is a bug. It says that when you update image from WebDav then only versioning would be disabled.

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

Version Purging http://docs.jboss.org/modeshape/4.0.0.Final/api/org/modeshape/jcr/api/version/VersionManager.html

Arun Patidar