Kentico CMS 7.0 Developer's Guide



Previous topic Next topic Mail us feedback on this topic!  


Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Similarly as versioning of documents, object versioning allows creation of versions when an object in Kentico CMS is edited and saved. This is convenient in case that you want to compare particular versions or roll back to one of the previous ones. This may potentially save lots of repeated work when some unwanted modifications are made to an object and you want to get the object to the original state.


Versioning is only possible for certain object types. In the Supported object types topic, you can find their list, together with exact locations of the administration interface sections where these objects can be edited and where their versions can be viewed and managed.


Even though object versioning is enabled and functional by default, it is recommended to configure settings related to it in Site Manager -> Settings -> Versioning & synchronization -> Object versioning. To learn more about all settings that can be adjusted there, please refer to the Configuring object versioning topic.


Once object versioning is enabled and configured, new versions are created when objects are modified under certain circumstanced. In the Using object versioning topic, you can find exact information about when versions are created and how they can be viewed, compared and managed.


Another feature related to object versioning is the Objects recycle bin. This feature allows certain objects to be deleted to the recycle bin instead of being deleted permanently. Objects deleted to the recycle bin can be restored, so you may avoid unwanted deletion of an object and the subsequent need to create it again.


In the Object versioning internals and API sub-chapter, you can find information about database tables and classes that are used by object versioning, as well as several examples of how object versions can be managed using Kentico CMS API.