Solved: In-app Notifications in Model Driven App
Problem Description
So, you want to enable custom notifications in your model-driven app. You go into the app settings, navigate to the 'Features' tab, and toggle on the in-app notifications.
As the system administrator, you see the bell notification bell icon appear in the app.
But that’s not enough because when your standard users log in, the icon is nowhere to be found.
Root Cause: Permissions and Security Roles
When I asked my 10 year old son Pranav Khurana what he thought could be the root cause, he immediately replied, "Security Roles!" and he was right. 😀
The root cause of this issue lies in permissions and security roles. As an administrator, you may not face this problem, but standard users require specific privileges to view and interact with the notification centre.
Step-by-Step Solution
Recommended by LinkedIn
That’s not all because when you refresh the screen at the front end, you’d notice that although the bell icon is now visible to the standard users, there lies another problem – an error message.
For the users to receive in-app notifications, you’d need to go back to the security role and make a couple of changes.
You’d now notice that the ‘Failed to get notifications’ error is gone.
Your standard users are now ready to receive notifications. Happy days!! 😀
Data Engineer at Van Oord
5moHi Mr. Gulshan Khurana, Is it available in the Canvas App as well?
Great advice Gulshan! 👌
Solutions Architect | YouTuber | Team Lead | Microsoft MVP
5moThanks for the reminder! We have to set this up in a few weeks so glad I saw this.
Power Platform Solutions Architect | Microsoft MVP | Blogger | YouTuber | Speaker
5moIt sounds like Pranav Khurana is a great co-pilot. 👨✈️
Microsoft Business Applications MVP | Power Platform | Dynamics 365 CE | Azure - Developer | Technical Consultant | Technical Architect | Community Super User | User Group Co-Organizer | Blogger
5moNice explanation Gulshan. People often forget about the security model design for the functionality they build. This is a great example of why it's important