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 construct a Dataverse record’s dynamic URL with Power Automate

  Sometimes it can be required/useful to include a URL to a record, for example when creating a task/email that is regarding the parent reco...