Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

CRM 2011: SDK.REST and JavaScript

$
0
0

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?




Viewing all articles
Browse latest Browse all 1000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>