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
    0

    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

  • seanrock 158 posts 337 karma points
    Aug 01, 2013 @ 14:56
    seanrock
    0

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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies