Jack Batty
Posts: 0
Joined: Tue Jul 19, 2016 3:42 pm

service is not definied

the first image isn't the query service its the update service

Sum Media
Posts: 0
Joined: Fri Jul 08, 2016 6:04 am

service is not definied

sorry I uploaded wrong image. (updated, please check it)

Sum Media
Posts: 0
Joined: Fri Jul 08, 2016 6:04 am

service is not definied

Sum Media
Posts: 0
Joined: Fri Jul 08, 2016 6:04 am

service is not definied

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

service is not definied

Please check is this service working in the test tab with your query?

In AngularJS service invocation code should look something like this:

precode
var requestData = {};
/CLICK TO EDIT MAPPING/

Apperyio.get("service_name")(requestData).then(
function(success){ // success callback
/CLICK TO EDIT MAPPING/

},
function(error){ // callback to handle request error

},
function(notify){ // notify callback, can fire few times

});
/code/pre

You can drag and drop the service into your function field.

Sum Media
Posts: 0
Joined: Fri Jul 08, 2016 6:04 am

service is not definied

it's available and work when using in coding page. However, when I create a new JS, it is not available

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

service is not definied

You are right, it is impossible to run services in the global scope, without connection to the page

Return to “Issues”