November Happy Hour will be moved to Thursday December 5th.

Actions when a page is created or changed

Vote:
 

I want to "do something" (in this case some integration with another system) when a page is created or changed in edit mode. I can't find any appropriate method to override in Epi 7.

Is there anyone that can show me how this is done? 

#66351
Feb 27, 2013 14:29
Vote:
 

Look at the interface EPiServer.Core.IContentEvents that has a bunch of events that you can set up eventhandlers for. The instance of the event can be retrevied from IOC container as:

var contentEvents = ServiceLocator.Current.GetInstance<IContentEvents>();

#66361
Feb 27, 2013 15:57
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.