Show a confirmation message in the backoffice ApplicationEventHandler
hello everyone,
I need an urgent help,
I'm trying to show the content editor a confirm message with 'yes' and 'cancel' options when deleting or Published events, I've tried "NotificationService" but I didn't know how to use it and I couldn't find an example on the internet.
I've accomplished :
e.Messages.Add(new EventMessage("My message title", "My message", EventMessageType.Error));
thank you for the replay Søren,
I've read the article but I didn't figure out how to use the Angular notificationsService when all my code is written in C# in ApplicationEventHandler Published Event handler.
Its not possible to show the kind of alerts you are after in C#. the notificationService only shows 'advice' to the user, but no interactions.
If you want to cutomises the UI of ther backoffice you will need to get your angular on. Give it a bash, its steep leaning curve for a backender but tus good fun!
Show a confirmation message in the backoffice ApplicationEventHandler
hello everyone,
I need an urgent help,
I'm trying to show the content editor a confirm message with 'yes' and 'cancel' options when deleting or Published events, I've tried "NotificationService" but I didn't know how to use it and I couldn't find an example on the internet.
I've accomplished :
but that is just a notification message.
can anyone Help me?
any idea ??
Hi!
You need to use the notificationsService with Angular.
Theres a blogpost showing most of what you need here: https://24days.in/umbraco-cms/2014/umbraco-angular-tips/
thank you for the replay Søren, I've read the article but I didn't figure out how to use the Angular notificationsService when all my code is written in C# in ApplicationEventHandler Published Event handler.
any idea, I'm lost,
thanks, Rihab.
Hello,
Its not possible to show the kind of alerts you are after in C#. the notificationService only shows 'advice' to the user, but no interactions.
If you want to cutomises the UI of ther backoffice you will need to get your angular on. Give it a bash, its steep leaning curve for a backender but tus good fun!
A.
is working on a reply...