Hi All, When I load the form my js getting as Error :Web resource method does not exist : function name. I tried for different entities but same error I’m getting. Can some onehelp me in resolving the below error please find the below code: for reference function contactRetrival(executionContext) { var formContext = executionContext.getFormContext(); debugger; if (formContext != null && formContext != undefined) { var fetchcxml = ” ” + ” ” + ” ” + ” ” + ” ” + ” ” + ” ” + ” “; var req = new XMLHttpRequest(); req.open(“GET”, Xrm.Utility.getGlobalContext().getClientUrl() + “/api/data/v9.2/contacts?fetchxml=” + encodeURI(fetchxml), true); req.setRequestHeader(“OData-MaxVersion”, “4.0”); req.setRequestHeader(“OData-Version”, “4.0”); req.setRequestHeader(“Content-Type”, “application/json; charset=utf-8”); req.setRequestHeader(“Accept”, “application/json”); req.setRequestHeader(“Prefer”, “odata.include-annotations=*”); req.onreadystatechange = function () { if (this.readyState === 4) { req.onreadystatechange = null; if (this.status === 200) { var results = JSON.parse(this.response); console.log(results); for (var i = 0; i < results.value.length; i++) { var result = results.value[i]; // Columns var contactid = result[“contactid”]; // Guid alert(contactid); } } else { console.log(this.responseText); } } }; req.send(); } }