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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Infinity.json and old page versions content

Avatar

Level 1

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?

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

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.

Avatar

Employee Advisor
the JCR Version manager gives you access to the old versions and can also help you to restore them