Using the Page Difference feature using-page-difference-with-aem-sites
AEM Sites’ page difference capabilities show provides a quick, color-coded view of what content has changed in a page (version, live copy, launches, language copy).
Comparing page versions comparing-page-versions
HTML changes
- Green: New content
- Red: Removed content
Component changes
- Green: New component
- Red: Removed component
- Blue: Modified component
Comparing launch pages comparing-launch-pages
Content creation is an iterative process and sometimes more than one user work on the same piece of content. Authoring with efficiency requires being able to see what has changed from one iteration to another. In this video, I would like to show you some of the content authoring enhancements introduced in AM6.3 for Touch UI. A visual difference makes it easy for users to understand what exactly changed with the Tuke scan. I would like to show you how to create a page launch and compare your page launch with your source. Let’s navigate to the sites Vretail, Language Masters and English.
Select the women’s page and click on the create option and then select launch.
Select the women’s page and then click on next. Enter the launch title as woman launch and then click create.
Open the launch created to make some content changes to it. Select the hero image component and cancel inheritance. Select the settings option and enter the title as woman spring and save your changes.
Now let’s add a button component above the featured product text and provide the button name as women’s summer shopping and save your changes. We have successfully added a component to the layout container. Let’s modify an existing component. Select the first category user component and change the heading to pushing the limits 2017. Let’s delete the second category user component from the page. Also let’s change the girl top stories text to girls summer stories.
Let’s navigate back to the site console and refresh your page.
Select the women’s page and select the reference option from the drop down. Under copies select the launches and you should be able to see the launch created in the previous step. Select the launch and click on compare to source option. AEM site’s html different page should be open with the launch version on the left side and the source on the right side. A visual difference makes it easy for users to understand what exactly changed with the qc scan. A page difference is performed between the launch and the source. For a html change grain wrapper around the text indicates that the text has been added and red indicates that the text has been deleted or replaced. In our case we replace the hero image title from woman to woman summer. Woman summer is marked as green which means it is newly added to the launch. Let’s notice the other changes we made to the component. We added a new button to the layout container. So the newly added component is marked with the green wrapper and the layout container itself has a blue because it has been modified with the addition of a new button component. You can also notice the first category teaser has a text added to it marked in green and the second category teaser marked in red which means it has been removed from launch. We also replaced the text top with summer hence top is marked in red which means it has been removed and summer marked as green which means it has been added. Page difference introduced in am 6.3 helps content authors to easily identify the changes made to a page by comparing the launch with the source.
Page Difference feature can be also used to identify the difference between blueprints and livecopies, and blueprints and language copies.