M
mflanegan
Guest
Hi Edsel, We are definitely sending back a dataset, we have also replaced our code with that of your demos. We still have the same problem. we get this error, Uncaught TypeError: Cannot read property 'foreach' of undefined, in the after row fill. here is our code below: function onAfterFillCustomers(jsdo, success, request) { /*dataset*/ /*temp-table*/ jsdo.dssysuser.foreach(function (ttsysuser) { console.log("username: " + ttsysuser.data.username); }); } var serviceURI = "http:.....", catalogURI = serviceURI + "......", jsdosession, jsdo; jsdosession = new progress.data.JSDOSession({ serviceURI: serviceURI, catalogURIs: catalogURI }); jsdosession.login("", "").done(function(jsdosession, result, info) { jsdosession.addCatalog(catalogURI) .done(function(jsdosession, result, details) { /*business entity*/ jsdo = new progress.data.JSDO({ name: 'beLogin' }); jsdo.fill(btoa(userfilter)).done(onAfterFillCustomers); }); }); we can see the below returned from the fill in the developer tools (chrome) debugger: {"dssysuser":{"ttsysuser":[{"ttcrstop":"","ttlimit":" 1155063.02 ","ttmsg":"","ttmaster":"","username":"prg50","userco":"50","useraccno":"50122924","note":"true"}]},"_id":"1452689130499-1"} The only difference between the appserver and this, is the fact that there is an _id added to the end of the dataset returned. Otherwise all fields and datasets and temp-tables match 100%. We are still unable to access a field in our dataset.
Continue reading...
Continue reading...