Bug on XrmServiceToolkit.Rest.RetrieveMultiple?

Mar 28, 2012 at 3:56 AM
Edited Mar 28, 2012 at 4:23 AM

req.open("GET", _ODataPath() + type + optionsString, async);

should be:


req.open("GET", _ODataPath() + type + 'Set' + optionsString, async);

 

or

change from

var queryOptions = returned.__next.substring((_ODataPath() + type + "Set").length);

to 

var queryOptions = returned.__next.substring((_ODataPath() + type).length);

 


PS: no XrmServiceToolkit.Rest.RetrieveMultiple example in XrmServiceToolkitTest.zip aspx page.

Coordinator
Apr 2, 2012 at 10:39 AM

Hey there.

Thanks for pointing it out.

I have updated the sourcecode and the sample page