Dynamics 365 has form notifications that can be fired in JavaScript.
Below is an example of each type – error, warning and information:
function FormNotification() {
Xrm.Page.ui.setFormNotification('This is an error notification', 'ERROR');
Xrm.Page.ui.setFormNotification('This is a warning notification', 'WARNING');
Xrm.Page.ui.setFormNotification('This is an information notification', 'INFORMATION');
}Let’s add these to the Save event handler:

Click Save. You will see the form notifications:


Keep learning. Keep building.
Explore AI, agents & Microsoft technology.
I share practical ideas, tutorials, and videos about AI, AI agents, Microsoft technologies, and the Power Platform.
Subscribe on YouTube →Carl de Souza Enterprise Architect at Microsoft · AI Technology Expert
