Copied to clipboard

Flag this post as spam?

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


  • Maff 141 posts 466 karma points
    Jan 30, 2015 @ 10:19
    Maff
    0

    How do you add an error notification in the back-end?

    Hi,

    I'm intercepting the Save and Publish event in the back-end of Umbraco 7, using a class that inherits from ApplicationEventHandler.

    All is working fine, apart from I can't figure out how to add/create an error message to the notification popup (the message on either a green or red background that appears when you save an item) if my save event fails a certain validation criteria.

    There seems to be plenty of examples of hooking into the notificationService using AngularJS but nothing about how to do it in C# - can anyone point me to a good tutorial/documentation on how to do this please?

    Thanks,

    Maff

  • Dan Lister 416 posts 1974 karma points c-trib
    Jan 30, 2015 @ 12:09
    Dan Lister
    0

    Hi Maff,

    I think the solution to this forum topic might help you with your issue.

    Hope that helps.

    Thanks, Dan.

  • Maff 141 posts 466 karma points
    Jan 30, 2015 @ 12:22
    Maff
    1

    Awesome thanks Dan - I will check that out and let you know how I get on! :)

    Maff

  • 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