NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: jlavera on April 23, 2019, 02:37:07 PM
-
I have several working methods; a new one is intended to return a "list" of values, from a simple 2 fields queue. I checked and in the "buildResult" routine, just before starting, the queue (is a LOCAL queue) has 380 records. However, the result is showing only one record, is like:
{
"ListOfUpdates_response" : {
"MySampleList" : [
{
"filename" : "CLIENT",
"recordid" : 2
}
]
}
}
The settings are pretty straight forward, the nettalk window asks for the queue field, and the fields inside the queue; I see a code
jsonResults.append(MySampleList,'MySampleList')
in the BuildResultFields routine.
I'm using the latest version of everything. (nettalk 11.08).
I'm expecting to obtain something like this, which is what I have in the queue:
{
"filename" : "CLIENT",
"recordid" : 2
"filename" : "CLIENT",
"recordid" : 5
"filename" : "PRODUCT",
"recordid" : 3
}
Am I missing something?
Kind regards,
-
all looks right Jorge - I'd need to see an example to see where it's gone wrong...
-
Yeah, it works ok. I was setting the maxrecord to 1. My goodness...