In this Blog, we will see how to Create New Records Programmatically with JavaScript in Dataverse / MSCRM
You can pass different parameter based in the "record" to create with field values
Power Platform, Microsoft Dynamics CRM 4.0, 2011, 2013, 2015, 2016, D365 CE, C#, ASP.net and MVC, Azure
var record = {};
record.bosch_dayname = "Name of the Record"; // Text
Xrm.WebApi.createRecord("bosch_day", record).then(
function success(result) {
var newId = result.id;
console.log(newId);
},
function(error) {
console.log(error.message);
} );
You can pass different parameter based in the "record" to create with field values
In this Blog, we will see how to Create New Records Programmatically with JavaScript in Dataverse / MSCRM var record = {}; record.bosch_day...
No comments:
Post a Comment