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?
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
Hi Maff,
I think the solution to this forum topic might help you with your issue.
Hope that helps.
Thanks, Dan.
Awesome thanks Dan - I will check that out and let you know how I get on! :)
Maff
is working on a reply...