1
votes

The way that Page Editor handles versions has been causing issues for in one of our Sitecore solutions for a client. I've posted about them here:

I didn't get much response on those and so far I've surmised that this is just how Sitecore works. This is less than ideal for our instance, as when publishing restrictions are set, authors don't know which version they're editing which is causing various issues for them.

I'd like to implement a solution(s) to improve the experience provide the following functionality:

  • Something in the Experience tab that shows the number of the version being viewed.
  • A button on the Experience tab that resets the Date to the default (this is not simply setting the date to the current date/time, but resetting it to act as it did before a date was manually set).
  • A custom button in Content Editor which allows an author to open a specific version in Page Editor...set the date automatically when it opens, I guess.

An any one give me some clues on how much of this is possible and where to start?

Thanks.

1
In general, a page is made of multiple components (renderings) each with their own datasource. Each datasource will have its own version count so which would be displayed in the tab?sestocker
We're using a "dynamic component" architecture, partly described here: stackoverflow.com/questions/26554973 Any global components on the page are managed as global items outside of the page, so we don't care what version of those are shown in this context. For components which are created solely as content on that page (like Rich Textboxes), we have code that keeps the pub restrictions and workflow in sync between these and their page.Scott

1 Answers

0
votes

For the first bullet "Something in the Experience tab that shows the number of the version being viewed", you can add version item in Core database.

  1. Move to "Core" DB in Desktop Mode
  2. Navigate to "/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Experience/"
  3. Create "Versions" item like this, http://imgur.com/bPEDm7R
  4. Create "Compare" item under "Versions" like this, http://imgur.com/dG8dz2M
  5. The result like this, http://imgur.com/HPu3XAL

The content author can see which version they are using and they can also compare with previous versions.