Viewing saved pages


Is there a way that a website could be configured to show the latest saved pages held in the CMS, which may be newer than published pages?

Many thanks.

Oct 12, 2010 12:00

Hi Daryl!

Do you mean to bypass the published page completely and always show the most recently saved version?


Oct 12, 2010 12:27

Yes.  This would be so that users can preview the site before publication in the context of a website rather than through the CMS editor.

Oct 12, 2010 12:30

I see!

You could probably do it by hacking a small PagePlugin together, and let it replace the default loaded CurrentPage with
the latest saved PageData version in a suitable Page-Init-event, Init for example.

I would however recommend using some "triggering" mechanism for enabling this function, for example requiring users to login using
some specific account...


Oct 12, 2010 12:34

Thanks Johan.  I will look into your suggestion.

Oct 12, 2010 12:47

I uploaded some sample code to our Code section if you want to look at it:


Oct 12, 2010 14:59

Many thanks - much appreciated.

Oct 12, 2010 22:15
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.