how to activate page with out creating version history data in aem

991 views Asked by At

How to activate Page with out create versionHistory data Jcr:system Level

/jcr:system/jcr:versionStorage/b6/7f/7c/b67f7c22-678f-4696-9022-80a21665aed5/1.0

i don’t want create versions like 1.0, 1.1,1.2….. when i am activate page

How to programatically delete revisions of a page in CQ5?

1

There are 1 answers

3
Shawn On

One of the options in the Version Manager is set by default to create versions on activation. But you can change it to false, and it will no longer create them on activation. See https://docs.adobe.com/docs/en/aem/6-3/deploy/configuring/version-purging.html

Version Manager

In addition to explicit purging by means of the purge tool, the Version Manager can be configured to purge old versions when new versions are created.

To configure the Version Manager, create a configuration for:

PID com.day.cq.wcm.core.impl.VersionManagerImpl

The following options are available:

versionmanager.createVersionOnActivation (Boolean, default: true)
whether to create a version when pages are activated.
A version is created unless the replication agent is configured to suppress creation of versions, which is honoured by the Version

Manager A version is only created if the activation happens on a paths that is contained in versionmanager.ivPaths (see below).

Also see https://helpx.adobe.com/experience-manager/kb/DisableVersioning.html