SaaS CMS has officially launched! Learn more now.

Is there any event that fires before a new page is shown in edit mode?


I want to set default values depending on current user and where the page is created. I have tried using events like DataFactory.Instance.CreatingPage and DataFactory.Instance.CreatedPage but I want to set the values before UI is loaded so the real values will be visible to the editor.


Dec 17, 2010 15:56

DataFactory.Instance.LoadedDefaultPageData should cover your needs. The new page can be accessed using e.Page["PropertyName"]

Dec 17, 2010 16:29

And if David's approach wouldn't suit your needs, perhaps you can try something inspired by what Deane does here:

Dec 17, 2010 16:36

DataFactory.Instance.LoadedDefaultPageData was exactly what I needed. Many thanks.

Dec 20, 2010 8:04
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.