Quick Form Notifications in Microsoft Dynamics CRM 2015 Update 1

February 25, 2016 / Author AlexR / Category Microsoft Dynamics CRM / Comment

Form notifications are now available on Quick Forms in a new Update 1 for Microsoft Dynamics CRM 2015 (On-Premise and Online).

In order to show a form notification use the following function:

Xrm.Page.ui.setFormNotification(message, level, uniqueId);

where:

message – a message to show in the notification,

level – type (or level) of the notification (ERROR, WARNING, INFO),

uniqueId – id of the notification.

To hide a displayed notification use:

Xrm.Page.ui.clearFormNotification(uniqueId);

where:

uniqueId – id of the notification.

Both functions return a Boolean result that indicates if the call has been successful (true) or not (false).

Notification-Area-in-CRM-2015-Update-1

Comments