Page 1 of 1

call service from javascript file

Posted: Fri Apr 04, 2014 10:12 am
by pritu patel

i tried to call service from javascript page.
It not working on another page what i want to do??
I write following code:
function fun()
{
recent.execute({});
}
and this function call in another page.
Image
Image

how to call external service with external javascript file??It not working with this code.


call service from javascript file

Posted: Fri Apr 04, 2014 12:17 pm
by Kateryna Grynko

Hi Pritu,

This is not working as a service should be created for every page separately.


call service from javascript file

Posted: Fri Apr 04, 2014 1:35 pm
by pritu patel

I want to do like this following url...
http://docs.appery.io/tutorials/manip...
But i want call service when any person show that page.
and store that page detail in separate page in list like above link.
But how to manage service to show list in another page.???

a person visit any page that add in listview.so person can know that how much detail I show.
how to do this using service.???


call service from javascript file

Posted: Fri Apr 04, 2014 8:39 pm
by Maryna Brodina

Hello!

Here is how to create service which you can use on all pages https://getsatisfaction.com/apperyio/...