CRM 2013 Form and Field Notifications

Posted by on September 11, 2013  |  commentsComments (7)

One of the many new features coming in CRM 2013 is the ability to dynamically display form and field specific notifications.  In CRM 2011 it was possible to leverage the form notifications using unsupported JavaScript but now in CRM 2013 there is a handy client-side method for this.  There are three different types of form notifications, error, information and warning which will determine the type of icon that is shown with the notification.  Below are examples of the new client-side methods and what it will look like on the new 2013 form.

Form Notification

Xrm.Page.ui.setFormNotification(“Form notification”)

  • Takes in a string value to set a form notification with the passed in string
  • Pass in “ERROR”, “INFORMATION” or “WARNING” to dictate the type of notification


To get rid of the form notification:


Field Notification

In addition to form notifications, CRM 2013 will add field specific notifications.  This is helpful if you have fields that will be dynamically required.  If a user sets a specific type and you want to require a field based on that type, you can set a notification to the newly required field to alert the user.

Xrm.Page.getControl("new_name").setNotification("Field specific notification")


To get rid of the field notification:


Check back soon for more posts about new features in CRM 2013!


  1. when we can expect any books on crm 2013. Thanks

    Posted by: kc  |  Sep 19, 2013 6:17:37 AM

  2. This is going to be super useful for us..

    Posted by: Advait Raje  |  Sep 23, 2013 11:09:32 AM

  3. Is it any study material related to CRM2013?
    Please share me the link.

    Posted by: Raj  |  Sep 25, 2013 5:54:44 AM

  4. kc - I am not aware of release dates for any CRM 2013 books yet

    Raj - here is a good compilation of CRM 2013 resources -

    Posted by: Blake Scarlavai  |  Sep 25, 2013 8:29:14 AM

  5. Thanks indeed

    Posted by: kc  |  Sep 26, 2013 7:35:21 AM

  6. It appears, notifications do not work on forms that did not get upgraded, like quote detail.

    I tried setformnotification and got some weird message, ‘method not supported ‘trim’.
    I tried setnotification and did not see the message appear next to the field.

    Can anyone confirm this?


    Posted by: Mark Pitts  |  Jun 25, 2014 5:06:24 PM

  7. Mark,

    This works in my org. I have version ( (DB

    Posted by: Blake Scarlavai  |  Jun 27, 2014 9:11:54 AM

Post a Comment

  • *Required

Contact Us for a Quote, or Personalized Demonstrationof Microsoft Dynamics CRM for Your Business.

Contact Us