Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am on Umbraco 10.
However, I noticed that notificationsService only has a ".success" method and I have the need to send out a Notification when a user enters something wrong in the backoffice. Note: notificationsService does not offer a ".error" method.
Does anyone know what service I would use to send out error notifications?
The notificationService should have an "'.error" method. According to the docs you should be able to do something like this:
notificationsService.error("Document Failed", "booooh");
You can read more about it here:
Thank you very much. That worked.
PS For me, Intellisense didn't report a .failure as an option.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted