Base solution for your next web application
Open Closed

How to create a custom notification in web app? #8575


User avatar
0
ashvinu created
  1. How to create a custom notification - in which classes should the code be inserted and how to trigger it in Controller?

  2. Based on which action the modal dropdown is triggered when the notification icon is clicked?

  3. How is the "appUserNotificationHelper.js" being used to send the notifications and where is it called?

  4. Can I get an example of the full-flow implementation of the notification service?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ashvinu

    1. You can define your notifications in AppNotificationProvider.cs
    2. It is triggered by bootstrap. Would you like to change anything here ?
    3. It is used in several places. You can serach for "UserNotificationHelper." in *.js files to see the locations of usages. It is basically used formatting and getting the url of a notification if tehre is one.
    4. After defining the notification, you can send it in AppNotifier.cs like we do for other notifications.

    Thanks,