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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Notification (banner) on the contact record

(0) ShareShare
ReportReport
Posted on by 30

how to make the banner (mentioned below in Yellow) on the forms in the Unified Interface APP.

They appear in the legacy web client but not on UI APP

pastedimage1582644573542v1.png

I have the same question (0)
  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    If you want to show notifications in UCI form, you could add custom JS code to do this.

    function showNotiInForm(executionContext){
        var formContext=executionContext.getFormContext();
        formContext.ui.setFormNotification("This is a ERROR","ERROR","a");
        formContext.ui.setFormNotification("This is a WARNING","WARNING","b");
        formContext.ui.setFormNotification("This is a INFO","INFO","c");
    
    }

    pastedimage1582686302815v1.png

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-ui/setformnotification

    Hope it helps.

    Best Regards,

    Leo

  • Snitika Luthra Profile Picture
    30 on at

    Thankyou Leo. I have used the above methods on the form. The reason it was not appearing is once I deactivate a record, the notification will only appear if I refresh the record page. Its working now.

  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Thanks for your reply and sharing :-)

    Best Regards,

    Leo

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 36 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans