In this content editors guide, you will learn how to use the page history within the Episerver CMS editor. This series of posts will teach a content editor everything they need in order to master the Episerver editor. Episerver like all good CMS systems will save a new version of a page every time it is modified and published. Having this automatic version management feature is super useful for several reasons:
If you need your content to be approved by a manager, or, a compliance team, they can compare your changes to the previous version to determine if it can be published
If you need to legally prove what content was displayed on your websites and on what dates.
If you need to revert your page information to a previous state.
Having version management means that you never have to worry about losing any of your changes, Any content amends that you make will never lose old data 😊
In Episerver there are two ways to look at a page's history.
Compare Version Button: The quickest way to view a pages history is to use the Compare Versions
button. This button is available in the top editor menu:
To open the page comparison tool, find the page that you want to compare in the navigation panel, click on it. After the page loads in the main display panel, click the Compare Versions
button (as indicated in the screenshot above). This will load the comparison tool. If your page has only one revision, you will see a warning message. If your page has more than one revision, the tool will compare the current version of the page against the last saved version of the page. Any differences will be highlighted for you to see 😊
Version Panel: The second way to compare versions in Episerver is the Version
panel. By default, this panel is disabled and hidden, so the first thing you will need to do is enable it. This is done as shown below:
At the top of the navigation panel, click the settings
button. This will load the gadgets properties screen, click the Add Gadgets
option:.
From the Gadgets
screen, select Content
. Within the Content
screen select Versions
:
Within the editor navigation panel, you should now see a tab called Versions
. This tab will list the version history for the selected page. Clicking on a revision will load that version of the page within the main panel.
If you want to revert your page to a previous state, in the top right-hand publish section simply click the big green 'Republish' button found within the Options
drop-down. Job done 💥
Happy Coding 🤘