Page 1 of 1

How to invoke a service?

Posted: Thu Jan 30, 2014 11:41 am
by Ismael Pinós Farrús

Hi, I have a problem,
in my app I have a page 'PaginaInicial' where I have a Barcode service called 'lectorCodis',
I have a popup page 'AlertaError' with a button,
and I want to call this service clicking the button.

How can I do this? in JS executed by clicking the button? Because with the default option 'invoke service' in the button events, I can open the service created in the popup but not in the others.

thanks!


How to invoke a service?

Posted: Thu Jan 30, 2014 12:32 pm
by Maryna Brodina

Hello! Yes, you can invoke service defined on screen from where you called popup. You can do that using JS http://docs.appery.io/documentation/r..., but it might cause some problem if you use mapping.


How to invoke a service?

Posted: Fri Jan 31, 2014 9:15 am
by Ismael Pinós Farrús

lot of thanks, is just that I need!