Skip to main content


Best Way to use Force Save JavaScript client API in Microsoft dynamics CRM

We know how data. save work but in post, we will see how to perform further logic on successful save or failure of function, errorCallback);

We have triggered a function on change of name, once the name is changed javascript will try to force save the form using below client API { alert("Successfully Saved "); }, function() { alert("Something Went Wrong"); });
  1. We have a mandatory field on the lead, when we change the name and the mandatory field is empty alert msg will be empty.

  2. If Everything goes fine .then(function() { alert(“Successfully Saved “); }


*This post is locked for comments