Compare versions of content

  • Updated

In the compare view in Optimizely Content Management System (CMS), you can compare content and properties between specific versions to see what has changed. When you compare content, the On-page edit view displays two-page versions side-by-side. Properties are compared in the All Properties edit view.

compare-content-1.png

  • Compare different versions toggles to turn the compare view on and off.
  • Select compare mode displays in the compare view and shows the selected compare mode; that is if you are comparing content or properties. The mode used the last time you did a comparison is preselected the next time you turn on the compare feature.

The notification bar displays two drop-down lists from which you can choose which versions to compare. By default, the draft is shown in the left panel and the currently published version in the right. All language versions of the content are listed by default.

Compare content

When you compare content, the On-page edit view shows two versions side-by-side. You can scroll and resize the panes.

When you edit a published version in the left panel, a draft is created and displayed in the version list. It works in a similar way as you edit content directly on the page, and when you are done, you can publish a draft, or republish a previous version.

compare-content-2.png

Compare language versions when translating content

The current language is selected in the language selector list, and you can filter the versions by language. You can compare versions made in the same language, or in different languages.

By comparing versions made in different languages, you can translate the content in the left pane side-by-side with the published version of the current language. You can also jump between languages to edit by selecting the current language in the version list of the left pane, and then switch language on the notification bar.

compare-content-3.png

Compare properties

When you select to compare all properties, the All properties editing view displays the two compared versions of the properties side-by-side. They are displayed in the same tabs as they usually are, with the exception of the Basic info properties, which are displayed in a tab of their own instead of in the Basic info area. Tabs that contain changes between versions are highlighted with a yellow digit; the digit identifies the number of changed properties there are on the tab between the two compared versions.

In the compare properties view, the two property versions appear side-by-side. The latest version of the property is shown first, to the left of or above the older version of the property. All properties that differ between the two versions are highlighted with a yellow background.

compare-content-4.png

You can edit the latest version of the properties, and if you decide that you prefer the older version to the newer, you can click Copy and the older version is used in the newer version also. When you edit a published property, a new draft appears in the version list.