Retrieve the GUID of an Entity record

Tel. 01489 666383

Retrieve the GUID of an Entity record

4th April 2018 Dynamics 365 Javascript 0

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 *