How to change AEM page version change to whole numbers | Community
Skip to main content
Level 2
May 5, 2020
Solved

How to change AEM page version change to whole numbers

  • May 5, 2020
  • 1 reply
  • 2799 views

In AEM 6.4 when a page is published its version will increment by 0.1. My requirement is to increment the version by 1.0.

Please suggest best approach for this.

 

Thanks,

Kaustuba TM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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 Suraj_Kamdi

@kaustubatm 

First of all, you need to write the custom JobManager and  Jobconsumer to handle the page replication event.

You have to use VersionManger API to handle the page versions.

see the following useful links

1. https://docs.adobe.com/content/help/en/experience-manager-64/developing/platform/dev-offloading.html

2. https://www.programcreek.com/java-api-examples/?api=javax.jcr.version.VersionManager

 

Hope this will help..

 

Thanks & Regard,

Suraj Kamdi

1 reply

Suraj_Kamdi
Community Advisor
Suraj_KamdiCommunity AdvisorAccepted solution
Community Advisor
May 6, 2020

@kaustubatm 

First of all, you need to write the custom JobManager and  Jobconsumer to handle the page replication event.

You have to use VersionManger API to handle the page versions.

see the following useful links

1. https://docs.adobe.com/content/help/en/experience-manager-64/developing/platform/dev-offloading.html

2. https://www.programcreek.com/java-api-examples/?api=javax.jcr.version.VersionManager

 

Hope this will help..

 

Thanks & Regard,

Suraj Kamdi