Thingworx UI Widget development - calling standard thingworx services inside widget code
Hello,
I am creating an external Thingworx widget, and am passing a Thingname (string) as a property of widget. Now inside widget I would like to call the generic services like 'GetBooleanPropertyValue' or 'GetIntegerPropertyValue' or for that matter any other custom service that I have defined in that Thing (Thing is created in composer).
I am not able to figure out a way to do so. What I have realised is , we have something like ..'TW.Runtime..' using which we can do so. for ex, if I need to access current session information I use something like 'TW.Runtime.Session.SetSessionValue'.
Also there is one more function, 'TW.IDE.getThingInfo' regrading which I am not able to find any details.
Another part to my question is , do we have any standard documentation/guide which provides information on list of Js functions like TW.Runtime or TW.IDE ...
I referred to https://community.ptc.com/t5/ThingWorx-Developers/Where-can-I-get-a-list-of-all-Thingworx-s-Js-function/td-p/518612, but as I can see in the post there is no such documentation avl. but it is also pointing to "Widget API: Mashup Builder" section of "Extension Development Guide", but there is no such detail which I am looking for.
Please let me know in case some more information/inputs are required.
Thanks in advance
Regards
Aditya Mittal

