Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Scott Hugh Alexandar Petersen 87 posts 235 karma points
    Jul 17, 2013 @ 12:37
    Scott Hugh Alexandar Petersen

    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.


    Thanks, Scott

  • seanrock 99 posts 173 karma points
    Aug 01, 2013 @ 14:56

    Maybe look at IApplicationEventHandler. And then create an event listener for umbraco.cms.businesslogic.web.Document.New.

Please Sign in or register to post replies

Write your reply to: