Eduardo Ramos
Posts: 0
Joined: Fri Sep 06, 2013 10:20 pm

Parse service results manually

Hi,

I have a service "MyService". I would like to execute in javascript like this:

MyService.execute({});

But I would like to parse the results, which is gonna be an array. How can I have access to the "data" variable or the results of the service?

Could you post an example on how to do that?

Thanks!!!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Parse service results manually

Hello! Use service success event, there in "data" variable will be entire service response http://docs.appery.io/documentation/u...

Eduardo Ramos
Posts: 0
Joined: Fri Sep 06, 2013 10:20 pm

Parse service results manually

Perfect! Thanks!

Return to “Issues”