Friday, 23 November 2018

Simple javascript codes for Dynamis CRM





Dynamics crm javascript codes

Xrm.Page.getAttribue("").getValue();

Xrm.Page.getAttribute("").setValue("");

Xrm.Page.data.save()










//Saving a from
 Xrm.Page.getAttribute("field1").setValue(1);
   Xrm.Page.getAttribute("field1").setSubmitMode("always");
   setTimeout(function(){Xrm.Page.data.save().then(closeemailform, errorCallback); }, 500);

No comments:

Post a Comment

How to Trigger a Microsoft Flow from a Custom Button in Dynamics 365

  When using Microsoft Flow the out-of-the-box button is nested under the ‘Flow’ section and is not easy to find nor is it customizable. Tri...