Assembling Version Snapshots of Your Web Content

Objective

After completing this lesson, you will be able to produce version snapshots to support creative web content development with seamless change management.

Versioning Mode

Content versioning allows Laura to take a snapshot of a page’s content at any moment in time, called a version. She can create as many saved versions as she likes. Later, by returning to one of these versions, she can view the page exactly as it was when she took the snapshot and conveniently toggle between the versions of her site. Hitting the ‘Rollback’ button makes her currently selected version the one used for her storefront. All other versions remain available if she changes her mind, regardless of when they were created.

Let’s have a look at SmartEdit’s Versioning UI:

Image shows SmartEdit’s Versioning Mode. It allows to create a new version by clicking the

SmartEdit’s Versioning mode allows you to:

  • Create, search for, and delete page versions.
  • Preview a page version, and from there, jump to that version and continue editing from there.

Both modes, Versioning and Advanced Edit, provide a ‘Versions’ button in the header bar. It allows Laura to search and toggle between versions. However, new versions can only be created in Versioning mode.

Note

There is an exception to the previous statement. New versions can also be created during individual workflow steps, typically executed in Basic or Advanced Edit mode.

The following video gives you a brief overview of version management in SmartEdit:

As mentioned, versions aren’t deleted when Laura switches to another version. She can come back to a snapshot as often as she needs to, providing a seamless comparison of different versions. When Laura decides which version she wants to use, she rolls back to it. SmartEdit ensures that the state of the page before rolling back is automatically saved as its own version.

When Laura creates a new version, SmartEdit saves the current page with its metadata and components located in its page slots and nonshared content slots. In contrast, components in shared content slots or inherited components from parent content catalogs are not saved.

Note

Personalization data is not saved in the created versions.

Summary

  • A version is a snapshot of a page at a particular time that can be returned to for comparing different site designs or recreating the site as it was in any given version.
  • The Rollback button allows a site to be restored to any existing version.
  • When the rollback is triggered, a version of the site in its state before the rollback is created automatically.
  • Content managers can view and toggle between versions in both Advanced Edit and Versioning mode, but Advanced Edit does not allow users to create new versions.
  • Further reading: Content Versioning