AEM last published/replication version in author instance-AEMascs | Community
Skip to main content
April 5, 2023
Solved

AEM last published/replication version in author instance-AEMascs

  • April 5, 2023
  • 1 reply
  • 671 views

Hi Team,

          We have one scenario; we need to fetch last published/replicated version page from AEM author instance among many versions of aem page. Kindly suggest how to fetch the last replicated version from Author instance.

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 arunpatidar

You need to get the desire version from version history, there is no differentiation from auto version or manual version. You need to check who was the user to identify latest published version

https://developer.adobe.com/experience-manager/reference-materials/spec/jsr170/javadocs/jcr-2.0/javax/jcr/version/VersionManager.html 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
April 5, 2023

You need to get the desire version from version history, there is no differentiation from auto version or manual version. You need to check who was the user to identify latest published version

https://developer.adobe.com/experience-manager/reference-materials/spec/jsr170/javadocs/jcr-2.0/javax/jcr/version/VersionManager.html 

Arun Patidar