web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: Notification (banner) on the contact record

    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
    RE: Notification (banner) on the contact record

    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
    RE: Notification (banner) on the contact record

    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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 46 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 40

#3
CU23101130-0 Profile Picture

CU23101130-0 17

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans