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
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"); }
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-ui/setformnotification
Hope it helps.
Best Regards,
Leo
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.
Thanks for your reply and sharing :-)
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 46 Super User 2025 Season 2
MVP-Daniyal Khaleel 40
CU23101130-0 17