Here is a screenshoot of my mapping :
When only one element is returned from my service, it gives me a javascript error :
Hello Luke,
Could you please provide us with an example of response "when only one item in the collection"?
Hi Luke,
I've been able to reproduce this problem.
Unfortunatly that's a bug.
We have post it to our developers and will update you here.
Regards.
What shall I do in the mean time? I think I have to delete the mapping and use javascript code to manually show the data?
Hi Luke,
Best way - to implement generic REST service.
Details: http://devcenter.appery.io/documentat...
So in this service JS implementation you should:
1 invoke your old service.
pre
var onSuccess = function(data){
alert("serviceresponse");
Code: Select all
//Using response.
};
serviceName.execute({success: onSuccess});
/pre
2 get response and use it as response for generic service.
After you can use this generic rest service to link ui you need.
Regards.
Hello I am facing the same problem in new appery builder...
Very appreciate any help.
Thanks a lot in advance
Hi B510,
Unfortunatly it's bug. We are working on it. And let you know when it will be fixed.
Also you can parse request yourself as suggested in above.
Regards.
noted with thanks and I will wait for that
Regards
Hi, It's been over a year since discovery of this glitch. Any news on the fix??
Thank you