
When I am trying to retrieve contact record on Configuration HTML page of solution using Xrm.WebApi.retrieveMultipleRecords it is not working.
It throws error : Cannot read property 'contact' of null
Xrm.WebApi.retrieveMultipleRecords("contact").then(function (response) {
alert("result : " + response);
var result = response;
}, function (error) {
alert("error: " + error);
});
*This post is locked for comments
I have the same question (0)Hi Siddhesh,
I tried in console while I could normally retrieve contact entity data using Xrm.WebApi.retrieveMultipleRecords. Have you tried in other entity with mentioned function?
Pls contact me if there're any other questions. Thanks.
Regards
Johnny