locked
how to get the Notification in mscrm 2013 RRS feed

  • Question

  • Dear all;

    when we change something on the form we have unsaved changes notification before the save button can we get the notification in javascript?? in mscrm 2013

    Thursday, August 14, 2014 12:41 PM

All replies

  • Hi,

    Use 

    Xrm.Page.data.entity.getIsDirty()
    Returns a Boolean Value that indicated if any fields in the form have been modified.


    Thanks and Regards.


    • Edited by Ravitheja J Thursday, August 14, 2014 1:28 PM
    • Proposed as answer by Ravitheja J Thursday, August 14, 2014 1:37 PM
    Thursday, August 14, 2014 1:28 PM
  • Hi Ravitheja;

    the problem is that i have custom button on the form and if i change something on the form and the click on the custom button then it does not get as form dirty because the focus is still on the field for example description field 

    Thursday, August 14, 2014 1:50 PM