Way of identify two versions of AEM page sequence | Community
Skip to main content
annieyang87957
New Participant
June 30, 2023
Solved

Way of identify two versions of AEM page sequence

  • June 30, 2023
  • 3 replies
  • 774 views

Hi team, 

We've synchronized contents (pages) by building/installing packages between different versions of AEM.
We understood that the sequence of pages cannot be installed correctly for the two version.  

However, is there any way to identify the the differences with tools, so that we could at least manually change the sequence by our selves since there are a lot of differences in many nodes. 

 

Thanks for the help!

 

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 EstebanBustamante

I think your best shoot as you mentioned is to try to manually identify the difference, there is a simple way to do that, you can get a JSON version of your pages and compare those with an external tool, such as: https://www.diffchecker.com/text-compare/

 

In case you don't know how to get a JSON version of your page, you just need to append the selector and extension: "infinity.json" instead ".html", please note that this may don't work in a prod / publish environment, so if you can do it locally the better, Good Luck!

3 replies

Tanika02
New Participant
June 30, 2023

Hello @annieyang87957 - 

 

Here's a thought !

 

Extract the content packages for the different versions that you want to compare. This will give you the package contents in a readable format that can be analyzed.

 

Use folder and file comparison tools to compare the extracted content package contents such as Beyond Compare, WinMerge, etc..

 

These tools allow you to compare directories and files, highlighting differences between the two. Perform a directory comparison to see the differences between the two sets of content.

 

EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
June 30, 2023

I think your best shoot as you mentioned is to try to manually identify the difference, there is a simple way to do that, you can get a JSON version of your pages and compare those with an external tool, such as: https://www.diffchecker.com/text-compare/

 

In case you don't know how to get a JSON version of your page, you just need to append the selector and extension: "infinity.json" instead ".html", please note that this may don't work in a prod / publish environment, so if you can do it locally the better, Good Luck!

Esteban Bustamante
aanchal-sikka
New Participant
June 30, 2023

Hello @annieyang87957 

 

Honestly, I am not able to follow the requirements. Apologies

 

But, if you are looking to find a way, by which you can understand differences between 2 versions in same AEM instance, then please refer to https://experienceleague.adobe.com/docs/experience-manager-learn/sites/page-authoring/page-diff-feature-video-use.html?lang=en 

Aanchal Sikka