Configure versioning on the global level

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:34

You may want to enable versioning on the global level. The global versioning configuration is valid for all the objects that have not a versioning rule.

It is recommended to avoid to activate the versioning on the global level, as it will create versions for all objects, even for those you cannot really use, affecting the performances. It is recommended instead to configure the versions on the versioning rules, partitions and folders level.

Configure versioning on global level if you don't need to differentiate versioning strategies by folders and if "one version per session" ("once per session" creation mode) is what you need. Otherwise configure the versioning on the versioning rule level.

By default, the versioning is disabled.

Enable the versioning on global level

1.Edit GlobalConfig as explained in Edit GlobalConfig.

2.Specify an appropriate value, different than 0, for InitialVersions and LastVersions. See About initial and last versions.

Default configuration in the GlobalConfig.xml.

In the default configuration, the versioning is disabled (values set to 0).

  <!--

    Default values for VersioningRules

 

    InitalVersions

      Integer

      Number of initial versions to keep (0=No version, -1=All versions)

 

    LastVersions

      Integer

      Number of last versions to keep (0=No version, -1=All versions)     

  -->

  <VersioningDefaults

    InitialVersions="0"

    LastVersions="0"/>

IMPORTANT: To make these changes available to the GN4 users, after you saved the GLOBALCONFIG.XML file and imported it into the database, or after you modified it in EdAdmin4 and saved, recycle the GN4 application pools on all IIS servers and then make all users log out and log back in.

See also

Configuring versioning on the versioning rule level