Hooking to PageType Saving event or Property on PageType Saving

Vote:
 

Hi.

Is there a way to hook to Saving event of the PageType and/or Property on PageType in Admin mode?

#51204
May 27, 2011 11:05
Vote:
 

Well, the EPiServer.DataFactory.Instance object exposes events for you to use.  Have a look at this blog post:
http://labs.episerver.com/en/Blogs/Allan/Dates/112230/3/When-and-Where-to-attach-DataFactory-Event-Handlers/

#51210
May 27, 2011 13:35
Vote:
 

Mari, thanx for the answer. What I need is for the same thing as you proposed but for PageType saving, not Page saving.

 

 

#51211
May 27, 2011 13:55
Vote:
 

Wooops, read your question too quickly - oh, well it's friday. ;-)

Do not know of an event for hooking into the PageType saving, sorry.

#51214
May 27, 2011 14:42
Vote:
 

Hi Milos

EPiServer.DataAbstraction.PageType as the event PageTypedSaved you can hook into.

Frederik

#51219
May 27, 2011 17:13