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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to create toast notifications in Microsoft Dynamics 365 Unified Interface?

(0) ShareShare
ReportReport
Posted on by

Hello All,

I would like some advice on creating toast notifications in dynamics 365 unified interface.

I have done some searches in the forum and MS documentation, it seems that there are no out of the box feature that allow me to create toast notification within a solution.

Does this mean that the standard way to create toast notification is using injecting JavaScript to a control I want to have a toast notification as feedback?

Thanks for the help in advance.

I have the same question (0)
  • Suggested answer
    Henry J. Profile Picture
    5,237 on at

    Hi Wilson,

    There is a new client API that hasn't been documented yet, to display Toast Notifications.

    It's a temporary message displayed at the bottom of the current screen.

    Example:

    pastedimage1580302212903v2.png

    I can update this thread once the documentation is ready.

  • Community Member Profile Picture
    on at

    Thank you for your response,

    does this mean it is not yet ready to be use yet?

    What is the api function for toast notification?

    Thank you

  • Henry J. Profile Picture
    5,237 on at

    I mean that even though the JavaScript method technically exists to display this type of notification, it is not yet generally available and not documented (so not supported).

    What would be your use case?

  • Community Member Profile Picture
    on at

    my use case will be a button triggering an api call that will come back with a response whether if its successful and the message for the toast notification to display.

    Thank you

  • Suggested answer
    Henry J. Profile Picture
    5,237 on at

    So would the screenshot I shared help (just for the notification format)?

    Right now you could also use the setFormNotification method to display a message and clear it after a few seconds, with clearFormNotification.

  • Community Member Profile Picture
    on at

    Yes, the screenshot is the desired result that I want from a toast notification.

    Do you have an idea when the api function will be available?

  • Community Member Profile Picture
    on at

    Hey Henry,

    SetNotification displays a message on the top of the form, not like the message you already have shown. Can you share your API implemented through Javascript?

  • Suggested answer
    Henry J. Profile Picture
    5,237 on at

    Hi Amir,

    The addGlobalNotification client API only officially supports "type: 2", which is a message bar notification.
    If you change it to "type: 1", it displays a toast notification.

    Be aware that because type: 1 isn't documented, it isn't supported and could change without notice.

    Henry

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 51

#2
Martin Dráb Profile Picture

Martin Dráb 39 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 26 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans