Future Time Machine Snapshots

Deprecated: Time Machine
24.03.11
Deprecated Mar 5, 2024Deprecated in 24.03.11
Full retirement expected after the UVE absorbs all necessary "future" time-machine features. Likely Q4 2024(?)
Recommendation

We're planning to move the future-focused section of the Time Machine to the scope of individual pages, where it will be handled through our Universal Visual Editor. Time Machine snapshots of past versions of a site will be removed altogether; to preserve static snapshots of existing sites, we recommend using static push-publishing.

Reason

The Time Machine feature is both expensive and unwieldy to maintain as the product continues to grow. Its utilities and functions, however, can be retained and sustainably provisioned in the recommended manner (i.e., static push-publishing and UVE).

In addition to viewing snapshots of the past, the dotCMS Time Machine also allows webmasters to get a glimpse of what their website will look like in the future, and even configure content to automatically publish/unpublish itself at specific dates/times in the future. The automatic publishing/unpublishing of content, however, is not default behavior and requires some simple configuration.

To enable future publishing/expiration of content for any content type, "date and time" fields must be added to the content type that will allow contributors to set the publish and expire dates (see below).

Only Date and Time field types may be configured as the "Publish Date Field" and "Expire Date Field" on the content type. When these content type fields are configured, this will activate the automatic publishing and unpublishing of content based on those field values.

After configuring the "Publish Date Field" and "Expire Date Field" on the content type, the default behavior for saving/publishing content is changed. The system will no longer publish the content if the content "Publish Date Field" is set after the current date on the server. An error message will display if the Expire Date field is set before the current date on the dotCMS server.

Once content has been saved with future publish and expire dates, the Time Machine can be used to preview what pages will look like when future dated content will be published/expired.

After choosing a future calendar date and language, the dotCMS Time Machine snapshot allows users to preview pages as they will appear with future dated content publication and expiration.

For information on how to set up and view snapshots of a dotCMS website in the past, please see the Time Machine Snapshots documentation