If you're working with Dynamics 365 forms, this tutorial is your gateway to understanding how to use notifications effectively. Notifications can help you guide users through the form in a logical manner, making it easier for them to enter data accurately.

In Dynamics 365 forms, you can leverage two types of notifications:

  • Form Notifications: These notifications are displayed at the top of the form.
  • Field Notifications: These notifications are linked to a specific field, displaying relevant information next to the field.

This article dives into how to display both types of notifications within an entity form by using JavaScript. To display a form notification, the setFormNotification function is used with the appropriate type (Info, Warning, or Error). Similarly, to display a field notification, the setNotification function is used.

To remove a notification, you can use the clearFormNotification and clearNotification functions respectively. You just need to specify the unique id of the notification that you want to remove.

Keep in mind that notifications can help create a more user-friendly experience, so mastering them is a crucial skill for Dynamics 365 form developers.

Bonus tip: This tutorial also includes a couple of bonus tips for context-specific notification removal. So, if you want to improve your Dynamics 365 form development skills, make sure to check out this tutorial.

Happy Coding!

The original post can be found here.

Published on:

Learn more
Dynamics 365 Education and Knowledge
Dynamics 365 Education and Knowledge

Share post:

Related posts

Set Field Error Notification using JavaScript by checking related parent entity record info in Dataverse Model driven app power apps

If you're using Dataverse Model driven app power apps and need to validate form fields based on parent record information, this article may be...

9 months ago

Announcing Public Preview of Web Push Notifications with Azure Notification Hubs

Azure Notification Hubs has finally launched the public preview of its much-awaited feature - Web Push Notifications. Developers can now send ...

9 months ago


Quick view controls are a common feature of Power Apps that allow you to display specific information about a selected record in a lookup fiel...

1 year ago

Update Microsoft 365 Admin Mobile app to Continue Receiving Notifications

The Microsoft 365 Admin mobile app is receiving a revamp of push notification messages, which will affect users on old app versions. The chang...

1 year ago

In-app notifications in Power Apps

If you're a Power Apps or Dynamics 365 user, you'll be pleased to know that the in-app notification feature has undergone a significant upgrad...

1 year ago

How to send email notifications from a Power Apps model-driven app

If you're looking to send email notifications from your Power Apps model-driven app, this YouTube video offers step-by-step guidance on the pr...

1 year ago

Dynamics 365 form level notification using JavaScript

The model-driven app and Microsoft Dynamics 365 do have inbuilt customizations up to a great extent. But for more specific customizations Java...

2 years ago

Display in-app notification Dynamics 365 using JavaScript and Power automate flow

This post is about displaying in-app notifications in Dynamics 365 using JavaScript and Power Automate flow. With this functionality, you can ...

2 years ago

How to create in-app notifications for model-driven apps the low code way

This is a video tutorial on how to create in-app notifications for model-driven apps in a low-code way. In-app notifications are a great way t...

2 years ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy