Using ThingWorx JavaScript Services in Vuforia Studio
Complete the following steps to use ThingWorx JavaScript services in your Vuforia Studio experience.
1. Add a
ThingWorx Thing and any services you want to call in your experience using the
External Data section in the
DATA pane.
2. You can then add your code to
<view name>.js to trigger a service in your experience during runtime using the following format:
twx.app.fn.triggerDataService (‘<TWX Entity>’, ‘<TWX Service>’, ‘<parameter>’)
The service of the ThingWorx entity defined in the function will be called, along with any input parameters that the service takes.