Copied to clipboard

Flag this post as spam?

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


  • Scott 95 posts 277 karma points
    Jul 17, 2013 @ 12:37
    Scott
    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 241 posts 462 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.

Please Sign in or register to post replies

Write your reply to:

Draft