This project has moved. For the latest updates, please go here.
1

Closed

Calling a Custom Action that returns an EntityCollection as an output parameter fails spectacularly.

description

Tracked it down to the following code in Process.callAction:
                var responseParams = req.responseXML.getElementsByTagName("a:KeyValuePairOfstringanyType"); // IE
                if (responseParams.length == 0) {
                    responseParams = req.responseXML.getElementsByTagName("KeyValuePairOfstringanyType"); // FireFox and Chrome
                }
This returns all a:KeyValuePairOfstringanyType nodes, regardless of which level they appear in the tree. Might be better to look for the a:Results nodes and iterate through their children.
Closed Jul 5, 2016 at 10:33 PM by Liger_cp <SND\Liger_cp>

comments

Liger wrote Jul 5, 2016 at 10:04 PM

Thanks for the feedback! Version 2.0 now supports Entity and EntityCollection :)

wrote Jul 5, 2016 at 10:33 PM