You can now receive notifications in your model-driven app’s notification center by using in-app notifications. When you launch an app, the system will search for new notifications and displays them in the notification bell icon. These Notifications are stored until they are dismissed or expired.
1. Log in to your model-driven application.
2. To open the browser console, press F12 or Ctrl+Shift+i on your keyboard.
3. Copy the code below into the browser console. In the AppUniqueName parameter, enter the unique name of your app.
fetch(window.origin + “/api/data/v9.1/SaveSettingValue()”,{method: “POST”,headers: {‘Content-Type’: ‘application/json’},body: JSON.stringify({AppUniqueName: “crmomce_Microsoft”, SettingName:”Hello”, Value: “true”})});
4. Sign in to Powerapps.In the left navigation pane, click Solutions. Choose New solution, then Create.
5. Open the solution you have created. From the drop-down menu, click on Add Existing > App > Model-driven app. From the list of apps, select the model-driven app where you want to see the notifications feature.
Select Publish all customizations. In the model-driven app, you will see a Bell icon.