Load page properties with data

Vote:
 

Hello,

I am looking for a way to load one or more page properties with default data when a page is created. The default data differs depending on user, so I need to control this from code.

I cannot hook on to the EPiServer.DataFactory.Instance.CreatingPage event in Global.asax because this occurs when the page is saved/published, which is too late. I want the default data to be there when the editor starts editing the new page.

Is this possible?

Thanks in advance!
/Mårten

#24680
Oct 03, 2008 13:25
Vote:
 
Hook on to it in loading, check

DataFactory.Instance.LoadedPage event or DataFactory.Instance.LoadingPage

#24687
Oct 03, 2008 14:46
Vote:
 
http://antecknat.se/blog/2008/06/09/prepopulate-fields-when-creating-page/
#24709
Oct 04, 2008 0:19
* 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.