P
Phillip Molly Malone
Guest
If you are using it from the Mobile AppBuilder and JSDO's, you can do it something like this in the event for an error: ------------ var errResp = JSON.parse(jqXHR.response); console.log(errResp._retVal); ======= This is taken from the "Run JavaScript" action of the "error' event of a JSDO read. By the way, the JSON returned if its an error is something like this for an error returned by a rather default JSDO read operation with a return error in it: -------------- {"_retVal":"This is the error","_errors":[{"_errorMsg":"ERROR condition: The Server application has returned an error. (7243) (7211)","_errorNum":0}]} ======== Hope this makes some sort of sense (I found it tricky to write up ;-) ).
Continue reading...
Continue reading...