Versioning creates a "snapshot" of a page at a specific point in time. With versioning, you can perform the following actions:
- Create a version of a page.
- Restore a page to a previous version in order to undo a change that you made to a page, for example.
- Compare the current version of a page with a previous version with differences in the text and images highlighted.
When restoring a page, the version created will be part of a new branch.
- Create versions of any page.
- The initial labels and version node names will be 1.0, 1.1, 1.2 and so forth.
- Restore the first version; i.e. 1.0.
- Create new versions again.
- The generated labels and node names will now be 1.0.0, 1.0.1, 1.0.2, etc.
If a page has been moved, you can no longer perform a preview on any versions made before the move.
- If you experience problems with a preview, check the Timeline for the page to see whether the page has been moved.
Timewarp is a feature designed to simulate the published state of a page at specific times in the past.
The purpose is to allow you to track the published website at the selected point in time. This uses the page versionss to determine the state of the publish environment.
To do this:
- The system looks for the page version that was active at the selected time.
- This means the version shown was created/activated before the point in time selected in Timewarp.
- When navigating to a page that has been deleted this will also be rendered - as long as the old versions of the page are still available in the repository.
- If no published version is found, then Timewarp will revert to the current state of the page on the author environment (this is to prevent an error/404 page, which would prevent browsing).
Timewarp is a mode of the page editor. To start it, simply switch it as you would any other 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.