One Page multiple versions | Community
Skip to main content
selvaganesh
Level 5
October 16, 2015
Solved

One Page multiple versions

  • October 16, 2015
  • 6 replies
  • 1151 views

I want to maintain single page with two or three different versions for corresponding publish instances. Example I want to maintain two different version of single page - for testing and development .I tried version for pages , but it automatically creates new versions for every publishing

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mshaji

You can write a workflow processing step which will activate the page, however you have to set replication filter options to suppress creating versions


                    replicationOptions.setSuppressVersions(true);

6 replies

smacdonald2008
Level 10
October 16, 2015

How to manage pages and versions is discussed in this AEM doc topic:

http://docs.adobe.com/docs/en/cq/current/wcm/page_create_edit.html

MshajiCommunity AdvisorAccepted solution
Community Advisor
October 16, 2015

You can write a workflow processing step which will activate the page, however you have to set replication filter options to suppress creating versions


                    replicationOptions.setSuppressVersions(true);

Sham_HC
Level 10
October 16, 2015

For your use IMO launches is best fit. Refer http://docs.adobe.com/docs/en/cq/current/wcm/launches.html

selvaganesh
Level 5
October 16, 2015

The problem with the versions is that , it creates a new version whenever a page is activated. I want to maintain single version for a particular publishing destination

smacdonald2008
Level 10
October 16, 2015

According to the docs - the version is always incremented when the page is activated. I am looking to determine if there is a way to activate a page without incrementing the version.