How to change AEM page version change to whole numbers
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
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
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.