w
Posts: 0
Joined: Tue Mar 26, 2013 12:30 pm

Invoke a service manually

How can I invoke a service manually? Because my service is invoked on page show event not. But I want it to reload only on specific circumstances, not on each page show, how can i do this?

And will my service "success" event that I have defined now, still be triggered if I execute a service manually, or do I have to manually add the success event also in javascript code?

w
Posts: 0
Joined: Tue Mar 26, 2013 12:30 pm

Invoke a service manually

I see that this is the syntax:

service_name.execute({
success: function( e ) {
//Success handler here
},
error: function( e ) {
//Error handler here
},
complete: function( e ) {
//Complete handler here
},
});

But can I leave the success/error/complete part out of it, and just execute the service? And instead define this success/error/complete events with the UI of Appery in the event window?

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

Invoke a service manually

Hello! This post should help https://getsatisfaction.com/apperyio/...

Let us know if you still have questions.

w
Posts: 0
Joined: Tue Mar 26, 2013 12:30 pm

Invoke a service manually

Thank you, but in that post they refer to links that are no longer working due to the namechange from tiggzi to appery. For example: http://help.tiggzi.com/documentation/...

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

Invoke a service manually

Use codeservice_name.execute({});/code to call service manually. If you want to call service on success event add this code on success event in builder.

Manuel Menéndez Román
Posts: 0
Joined: Sat Jun 22, 2013 9:12 am

Invoke a service manually

Hello,
And what about if I need to send some parameters to the service?

Thanks

Manuel Menéndez Román
Posts: 0
Joined: Sat Jun 22, 2013 9:12 am

Invoke a service manually

Great, thanks

Return to “Issues”