knowledgecenter-breadcrum

Knowledge Center

03 Apr, 2023

How In-App Notifications in D365 CE Can Revolutionize Your Workday

Posted on 03 Apr, 2023 by Admin, Posted in Dynamics 365 Power Automate Dataverse

How In-App Notifications in D365 CE Can Revolutionize Your Workday Blogs

In-app notifications provide real-time updates within the D365 platform, keeping you informed about important events and changes as they happen. Whether it’s a new case assigned to you, a customer inquiry that needs a response, or a critical deadline approaching, in-app notifications ensure that you’re always in the loop.

Today, we’ll see how to create an in-app notification which appears when an event occurs. In this instance, we will show an in-app notification when a new lead is created.

Firstly, navigate to PowerApps and sign in with your credentials. Then select your desired environment and navigate to Solutions.


Open your desired solution, in this case I’ve a solution named ‘In-app Notification’.


Then navigate to Add Existing –> App –> Model-driven app.


Then select your desired app, in this case I’ve select ‘Customer Service Hub’ app.


Now your app is added into your solution, edit the app by clicking on ellipses icon and then clicking on ‘Edit’.


Now you are in app editor, click on ‘Settings’.


A dialog box appears, navigate to ‘Features’ and then enable ‘In-app notifications’ if not enabled and click on ‘Save’.


Then ‘Save’ and ‘Publish’ the app.


Now in-app notifications are enabled for your app.

Let’s create a simple in-app notification whenever a new lead is created using Power Automate.

Navigate to Power Automate and sign in with your credentials. Then select your desired environment and click on ‘Create’.


Then select ‘Automated Cloud Flow’.


Then give a name to your flow and select the flow trigger as shown below.


Now the flow editor appears, in the first step of the flow add the values as shown below.


Then click on ‘+New Step’ and select ‘Add a new row’ action.


Now select ‘Notifications’ as the table name and fill the below information.

Title: The title of the notification.

Body: Details about the notification.

Data: To add JSON for parsing richer data into the notification. In this example, I ‘ve added a JSON that shows three actions for navigating to a website, navigating to the newly created lead and navigating to a dashboard respectively.

Expiry (seconds): Specifies after how many seconds the notification should be deleted if not dismissed.

IconType: Specifies the icon to be shown on the notification.

Toast Type: It specifies the behavior of the notification whether it is shown as a Timed or Hidden.


Let’s test our flow by creating a lead.


Once the lead is created, after a few seconds a notification appears in the top-right corner of the screen which contains links to navigate.


Important Links
Send in-app notifications within model-driven apps – Power Apps | Microsoft Learn

Previous PostNext Post

Comment

This is a Required Field

Loading

Recent Updates

Blogs
18 Jul, 2024

How to use Fiddler to debug your PCF while doing development.

Have you ever felt like you're spending too much time debugging your PCF (PowerApps Component Framework) during development, only to…

READ MORE
Blogs
16 Jul, 2024

How to use Solutions with Power Pages

What is Solution in power Pages? A solution is a container for components such as Website Configuration and Dataverse Components.…

READ MORE
Blogs
15 Jul, 2024

Create a Dataverse table with a SharePoint List

In today’s business world, Organization uses SharePoint lists for document management, and data storage. Let's assume a scenario where an organization…

READ MORE