Hey everyone. Here is the function I am having trouble with:
function alertTestEntities() { SDK.REST.retrieveMultipleRecords( "new_testEntity","$select=*", function (results) { alert("Success"); }, function (results) { alert(error.message); }, function (results) { alert("Complete"); } ); }
I added two web resources to the form of my "testEntity". The first contains only this function. The second contains the SDK.REST package.
The function "alertTestEntities" is called on form load.
When I load the form, I get an alert that says this:
How can I properly use the SDK.REST method?