Copied to clipboard

Flag this post as spam?

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


  • Dan 9 posts 90 karma points
    Aug 12, 2021 @ 01:59
    Dan
    0

    V7.7.4 Detect when an item is added / removed from a MNTP

    Hi all,

    I am trying to come up with a solution to detect when a item is either added, or removed from a Multi Node Tree Picker.

    I imagined there would be some way to capture the request that's being made, however I haven't been able to come up with a controller + endpoint for that yet.

    Any help is greatly appreciated.

    Cheers

    enter image description here

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Aug 13, 2021 @ 13:45
    Alex Skrypnyk
    100

    Hi Dan

    You can use content save event to intercept this event and include your logic into this process. Check out docs - https://our.umbraco.com/documentation/reference/events/contentservice-events

    Thanks,

    Alex

  • Dan 9 posts 90 karma points
    Aug 16, 2021 @ 21:14
    Dan
    1

    Brilliant, cheers Alex!

Please Sign in or register to post replies

Write your reply to:

Draft