Versioning creates a “snapshot” of a page at a specific point in time. With versioning, you can perform the following actions:
You can create a version of your resource from:
Navigate to show the page for which you want to create a version.
Select the page in selection mode.
Open the Timeline column.
Click/tap on the arrowhead by the comment field to reveal the options:
Select Save as Version.
Enter a Label and Comment if required.
Confirm the new version with Create.
The information in the timeline will be updated to indicate the new version.
Navigate to show the page for which you want to create a version.
Select the page in selection mode.
Select the Create option from the toolbar.
The dialog will open. You can enter a Label and a Comment if required:
Confirm the new version with Create.
The timeline will be opened with the information updated to indicate the new version.
Once a version has been created you can revert to that version if needed.
When restoring a page, the version created will be part of a new branch.
To illustrate:
To revert to a previous version:
Navigate to show the page you want to revert to a previous version.
Select the page in selection mode.
Open the Timeline column and select either Show All or Versions. The page versions for the selected page will be listed.
Select the version you want to revert to. The possible options will be shown:
Select Revert to this Version. The selected version will be restored and the information in timeline will be updated.
You can preview a specific version:
Navigate to show the page you want to compare.
Select the page in selection mode.
Open the Timeline column and select either Show All or Versions.
The page versions will be listed. Select the version you want to preview:
Select Preview. The page will be shown in a new tab.
If a page has been moved, you can no longer perform a preview on any versions made before the move.
To compare a previous version with the current page:
Navigate to show the page you want to compare.
Select the page in selection mode.
Open the Timeline column and select either Show All or Versions.
The page versions will be listed. Select the version you want to compare:
Select Compare to Current. The page diff will open and display the differences.
Timewarp is a feature designed to simulate the published state of a page at specific times in the past.
Because content creation is an ongoing and collaborative process, the purpose of Timewarp is to allow authors to track the published website over time in order to understand how the content has changed. This feature uses the page versions to determine the state of the publish environment.
To do this:
Timewarp is a mode of the page editor. To start it, simply switch it as you would any other mode.
Start the editor for the page where you wish to start Timewarp and then select Timewarp in the mode selection.
In the dialogue set a target date and time and click or tap Set Date. If you do not select a time, the current time will default.
The page is displayed based on the date set. Timewarp mode is indicated via the blue status bar at the top of the window. Use the links in the status bar to select a new target date or exit Timewarp mode.
Timewarp makes a best effort to reproduce a page at a selected point in time. However because of the complexities of the continuous authoring of content in AEM, this is not always possible. These limitations should be kept in mind as you use Timewarp.
Timewarp works based on published pages - Timewarp will only work fully if you have previously published the page. If not, timewarp will show the current page on the author environment.
Timewarp uses page versions - If you navigate to a page that has been removed/deleted from the repository it will be rendered properly if old versions of the page are still available in the repository.
Removed versions affect Timewarp - If versions are removed from the repository then Timewarp cannot show the correct view.
Timewarp is read-only - You cannot edit the old version of the page. It is only available for viewing. If you want to restore the older version you will have to do that manually using restore.
Timewarp is only based on page content - If elements (such as code, css, assets/images, etc) for rendering the website have changed, the view will differ from what it originally was, as those items are not versioned in the repository.
Timewarp is designed as a tool to assit authors with understanding and creating their content. It is not intended as an audit log or for legal purposes.