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

Infinity.json and old page versions content

Avatar

Avatar
Level 1
clintg6
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
clintg6
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile
clintg6
Level 1

23-05-2021

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?

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

570 likes

Total Posts

687 posts

Correct Reply

197 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

570 likes

Total Posts

687 posts

Correct Reply

197 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

23-05-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.

Answers (0)