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

Git Basic working