07-11-2017 07:54 AM
07-11-2017 06:10 PM
It is unfortunate that this can only be set globally while the autoVersionOnUpdateProps can be set on a node-level. though that might significantly increase size of DB if setting a large list of properties.
As long as you have a consistent list of "excludedOnUpdateProps" for your entire system, that approach is ideal. If fine-grained control is needed I think the option to setup a custom versioning behaviour might be more appropriate, e.g. for different types of nodes. In that case I would disable autoVersionOnUpdateProps and use a custom behaviour to create a version via Version2Service (after checking the property changes for relevant ones).
07-11-2017 01:18 PM
Hi,
Please refer to Versioning Behaviour
If you scroll to the end of the page, you will see the ability to override the "versionableAspect" to exclude specific properties (via "excludedOnUpdateProps").
Regards,
Jan
07-11-2017 06:10 PM
It is unfortunate that this can only be set globally while the autoVersionOnUpdateProps can be set on a node-level. though that might significantly increase size of DB if setting a large list of properties.
As long as you have a consistent list of "excludedOnUpdateProps" for your entire system, that approach is ideal. If fine-grained control is needed I think the option to setup a custom versioning behaviour might be more appropriate, e.g. for different types of nodes. In that case I would disable autoVersionOnUpdateProps and use a custom behaviour to create a version via Version2Service (after checking the property changes for relevant ones).
Explore our Alfresco products with the links below. Use labels to filter content by product module.