How do I connect to the on document created event?
Hi everybody,
I am trying to create a module that fires when a document with a specific document type is created.
What I want to accomplish is that when this new document is created then it should automatically create 5 pages beneath this document without publishing it.
But I don't know for sure where to begin? I have an idea of that I have to attach my module to the create event of a document and then create the 5 pages.
How do I connect to the on document created event?
Hi everybody,
I am trying to create a module that fires when a document with a specific document type is created.
What I want to accomplish is that when this new document is created then it should automatically create 5 pages beneath this document without publishing it.
But I don't know for sure where to begin? I have an idea of that I have to attach my module to the create event of a document and then create the 5 pages.
Anyone?
Thanks, Scott
Maybe look at IApplicationEventHandler. And then create an event listener for umbraco.cms.businesslogic.web.Document.New.
is working on a reply...