cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Not execute a service with JS

Giuseppe_Fiore
15-Moonstone

Not execute a service with JS

I Have a problem with an execution of service with JS.

I maked a simple service to write 5 value into DATATABLE in the Thinworx Composer.

IN THINGWORX STUDIO i make this function into Home.js

$scope.save=function() {

$scope.app.mdl['BEER_DRINKTEC_2017'].svc['putData'];

};

If I use the button event linked to the service, this works well and runs.

if i recall a function save();

or use directly  $scope.app.mdl['BEER_DRINKTEC_2017'].svc['putData'];   into antoher function , the service not running.


THNX

Giuseppe



0 REPLIES 0
Top Tags