How to show count for unread notifications in default top-bar?

0
Hi Everyone, We are building notifications for our app where Notification link is a menu top bar item in Navigation. We need to show the count of the unread notifications in the bracket after the link. How this can be done in Mendix. Any help would be appreciated. 
asked
2 answers
1

Hello Sarita Mohankar,

 

Use this widget SimplePushNotifications

answered
1

Hello Sarita Mohankar,

 

You could use the option of Ganesh.

Or you need to make sure you have a system in place that registrer for every user which notification they read and which they did not read. And based on this system you could count the unread notifications. 

So depending on your domain model you need to have an entity that is related to the user with a boolean IsRead and you need an entity with an integer to store the amount of unread notifications.

 

Hope this helps,

 

Good luck!

answered