Hi there, Before I tell anything about my project etc I just wanna ask a simple question that might be able to solve my overall problem.
Is it possible to hook into Umbraco and attach a listener to lets say an event that raises every time a page is created. Basically whenever the user creates a page I need some method to trigger using some properties if the page is a specific document type.
Event trigger whenever a new page is created
Hi there, Before I tell anything about my project etc I just wanna ask a simple question that might be able to solve my overall problem.
Is it possible to hook into Umbraco and attach a listener to lets say an event that raises every time a page is created. Basically whenever the user creates a page I need some method to trigger using some properties if the page is a specific document type.
If so: how?
/ Peter
Hi Peter,
I believe you would benefit from the documentation Subscribing to Events and the docs covering the Content Service in particular.
That should get you started on your way listening to either the Saving, Saved, Publishing, or Published events.
This might be (haven't read it yet) exactly what I need. I'll have a look :)
Thanks :)
is working on a reply...