Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Updating multiple objects ?

I've built a service according to the docs found here - to do an update to multiple objects:

http://devcenter.appery.io/documentat...

My service looks like this when I test it:

Image

And - I click 'test' - and it updates the objects I expected.... I should be happy right ?? only issue - there's no response ?? Nothing comes back - it does the work - but no response from the service.... is this expected??

How do I know if this was successful or not? Shouldn't some response come back like : __ Rows updated ??

Thanks!
Bruce

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Updating multiple objects ?

Hi Bruce -

Everything is correct with your service, the only thing that you will don't need the Success mapping in this service call, so you can remove it in the Data tab view and add a JavaScript code on the Success/Error with appropriate alert message.

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Updating multiple objects ?

Illya , thanks ... So my question is ... When the service succeeds ... Or more specifically it fails ... Since nothing came back when I clicked test ... Is the service actually populating the xhr status so that it can be queried on completion ?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Updating multiple objects ?

Hi Bruce,

Unfortunatly you can not know about how much items was affected. If you need this information you can make additional query with such "where" clause.

Regards.

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Updating multiple objects ?

Yurii, thanks ... I guess I suspected as much given the silence from the test query I wrote. Thanks for the update ...

Return to “Issues”