Way of identify two versions of AEM page sequence | Community
Skip to main content
annieyang87957
Level 2
Jun 30, 2023 9:44 AM UTC
Solved

Way of identify two versions of AEM page sequence

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.
EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
Jun 30, 2023 1:40 PM UTC

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

3 replies

Tanika02
Level 7
Jun 30, 2023 7:24 PM UTC

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.

 

Translate
EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
Jun 30, 2023 1:40 PM UTC

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!

Translate
Esteban Bustamante
aanchal-sikka
New Participant
Jun 30, 2023 10:53 AM UTC

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 

Translate
Aanchal Sikka