Expand my Community achievements bar.

SOLVED

Automatic version creation for an asset when it is modified.

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

3 Replies

Avatar

Community Advisor

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

Screenshot 2018-10-04 at 6.27.37 PM.png



Arun Patidar

Avatar

Level 2

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

Avatar

Correct answer by
Community Advisor

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