Xrm.Page.data.save().then(function(){

var id = Xrm.Page.data.entity.getId();

}, function(){

alert(“Error”); // not wise but good for testing?

});


Leave a Reply

Your email address will not be published. Required fields are marked *