the first image isn't the query service its the update service
the first image isn't the query service its the update service
sorry I uploaded wrong image. (updated, please check it)
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.
it's available and work when using in coding page. However, when I create a new JS, it is not available
You are right, it is impossible to run services in the global scope, without connection to the page