[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Basic consumption of rest response by simple javascript

Status
Not open for further replies.
M

marian.edu

Guest
Octavio, have you tried to echo out the response? The way you mapped that is definitively not an array, if you don't map the output parameter directly to the 'Body' it will create a 'response' object (json object), in your case the temp-table will be in (this.response).response.ttPrecios... and there will the the temp-table object, accessing the array will need an extra 'ttPrecios', my precious won't work :) If you map that directly to Body you will get your data array in (this.response).ttPrecios, in case you only send back that temp-table it's easier to map it like that but then when you decide to add additional output it will require extra changes on the JS side. Marian Edu Acorn IT www.acorn-it.com www.akera.io +40 740 036 212

Continue reading...
 
Status
Not open for further replies.
Top