Ismael Pinós Farrús
Posts: 0
Joined: Thu Jan 30, 2014 11:41 am

How to invoke a service?

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!

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

How to invoke a service?

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.

Ismael Pinós Farrús
Posts: 0
Joined: Thu Jan 30, 2014 11:41 am

How to invoke a service?

lot of thanks, is just that I need!

Return to “Issues”