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

Updating Records Without Triggering Plugins – Bypassing Plugin Execution in Dynamics 365 / Dataverse using C#

  Recently, we had to write a small utility—a console application—that would go and update a bunch of existing records in our Dynamics 365 e...