Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Actions when a page is created or changed


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? 

Feb 27, 2013 14:29

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>();

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.