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

Simple Javascript Use in Thingworx Services

Highlighted
Regular Member

Simple Javascript Use in Thingworx Services

How to start with making services based on simple JavaScript on Thingworx? I am able to make mashup,thing and already made some SQL services ,but don't understand why I am unable to make some JavaScript services using simple onclick(),alert(),setTimeout() functions.It gives error i.e., like "-referenceError-<the function> is undefined".Than I got to know that Thingworx using Rhino JavaScript Engine which is not a simple JavaScript. Than how to use my simple JavaScript skill here on making thingworx services.What are the functions that Rhino JavaScript Engine recognizing from simple JavaScript?