web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :

How to Show Notification in Model Driven App using C#

Ram Prakash Duraisamy Profile Picture Ram Prakash Duraisamy 5,775 Super User 2026 Season 1
Introduction:

In this blog, we will see how to show Notification in Model Driven App Using C#


Implementation steps:

For your function apps or console application once after the Organization service gets configured, call the below code to achieve the same


private static void SendInAppNotification(string subject, string description)
{
    Entity entity = new Entity("appnotification");
    entity.Attributes.Add("title", subject);
    entity.Attributes.Add("ownerid", new EntityReference("systemuser", USERGUID));
    entity.Attributes.Add("body", description);
    Service.Create(entity);
}

Conclusion:

Based on the above code we can easily achieve Notifications in Model Driven App


Comments