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 you have created a version of your page, there are various methods of reinstating a prior version:
the Revert to this Version option from the Timeline rail
Reinstate a prior version of a selected page.
the Restore options from the top actions toolbar
Restore Version
Reinstate versions of specified pages within the currently selected folder; this can also include restoring pages that have been previously deleted.
Restore Tree
Reinstate a version of an entire tree as at a specified date and time; this can include pages that have been previously deleted.
When reinstating a page, the version created will be part of a new branch.
To illustrate:
To Revert the selected page 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.
This method can be used to restore versions of specified pages within the current folder; this can also include restoring pages that have been previously deleted:
Navigate to, and select, the required folder.
Select Restore, then Restore Version from the top actions toolbar.
If, either:
Then the display will be empty as there are no versions applicable.
The available versions will be listed:
For a specific page, use the drop down selector under RESTORE TO VERSION to select the required version for that page.
In the main display, select the required page to be restored:
Select Restore for the selected version, of the selected page, to be restored as the current version.
The order in which you select a required page and the related version is interchangeable.
This method can be used to restore a version of a tree as at a specified date and time; this can include pages that have been previously deleted:
Navigate to, and select, the required folder.
Select Restore, then Restore Tree from the top actions toolbar. The latest version of the tree will be shown:
Use the date and time selector at Latest Versions at Date to select another version of the tree - the one to be restored.
Set the flag Preserved Non Versioned Pages as required:
If active (selected), then any non-versioned pages will be maintained and not impacted by the restore.
If inactive (unselected), then any non-versioned pages will be removed as they did not exist in the versioned tree.
Select Restore for the selected version of the tree to be restored as the current version.
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.
Timewarp can also be used with Launches to preview the future when running AEM 6.5.10.0 or later.
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.