context.getControl("fieldname").clearNotifications();
Is '.clearNotifications()' compatible with the D365 mobile app?
Hi all, thanks for all your responses. Erhan's advise worked for me. Thanks a lot!
Hi All, can you guide me on how I'll be able to debug the Mobile app?
Hello Marjorie!
You can try again after disabling legacy forms rendering and run the script again. Also, please refer to the below link to add/clear field notification:
Add/Clear field Notifications
Hi,
Isn't it clearNotification() not clearNotifications()?
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/controls/clearnotification
Regards,
Hello,
Try context.ui.clearFormNotification(formNotificationId); //formNotificationId is optional
As setNotification ,AddNotification method works for Dynamics 365 mobile clients. IT is compatible too
docs.microsoft.com/.../clearnotification
Can you send me what you have to do for setNotification & also share what error you got?
Hi Marjorie ,
clearNotification() should work in mobile app. Can you please share error details here .
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 Mansi Soni as our August 2025 Community…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Hamza H 141
Daniyal Khaleel 132
DAnny3211 130