Copied to clipboard

Flag this post as spam?

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


  • Peter Hansen 29 posts 72 karma points
    Sep 11, 2020 @ 20:10
    Peter Hansen
    0

    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

  • Mark Drake 133 posts 457 karma points c-trib
    Sep 11, 2020 @ 23:25
    Mark Drake
    100

    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.

  • Peter Hansen 29 posts 72 karma points
    Sep 12, 2020 @ 07:02
    Peter Hansen
    0

    This might be (haven't read it yet) exactly what I need. I'll have a look :)

    Thanks :)

Please Sign in or register to post replies

Write your reply to:

Draft