Infinity.json and old page versions content | Community
Skip to main content
May 23, 2021
Solved

Infinity.json and old page versions content

  • May 23, 2021
  • 1 reply
  • 1089 views

Hello AEM community,

 

I'm trying to extract old text content from old versions of pages for legal reasons. For a few pages I can find all of the text content for the different versions in infinity.json but for most I cannot find the text content for a given version unless under the Timeline I click Revert to this Version. After clicking it, only text content from that version shows up. I'm looking at around 1000 pages with 6-10 versions per page so manually clicking is not an option. How can I get text content from all versions of a page? Is there a programmatic way to do this? Maybe programmaticaly Revert to a version and pull text content from infinity.json?

 

 

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 Asutosh_Jena_

Hi @clintg6 

 

infinity.json gives the current content hierarchy and it will not show any previous version content until unless the content is reverted and available in crx nodes.

1 reply

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
May 24, 2021

Hi @clintg6 

 

infinity.json gives the current content hierarchy and it will not show any previous version content until unless the content is reverted and available in crx nodes.

clintg6Author
May 24, 2021
Thanks do you know if I can use the version manager to revert back previous content? https://docs.adobe.com/content/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/version/VersionManager.html