Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to change AEM page version change to whole numbers

Avatar

Avatar
Boost 1
Level 1
KaustubaTM
Level 1

Likes

2 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
KaustubaTM
Level 1

Likes

2 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
KaustubaTM
Level 1

05-05-2020

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

View Entire Topic

Avatar

Avatar
Seeker
MVP
Suraj_Kamdi
MVP

Likes

146 likes

Total Posts

157 posts

Correct Reply

41 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Springboard
Validate 1
View profile

Avatar
Seeker
MVP
Suraj_Kamdi
MVP

Likes

146 likes

Total Posts

157 posts

Correct Reply

41 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Springboard
Validate 1
View profile
Suraj_Kamdi
MVP

06-05-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