Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Is it possible to use external javascript libraries in thingworx.
I would like to make use of the influxdb2 client specifically so that I do not have to re-invent the wheel on services and queries to our local influx data base.
Solved! Go to Solution.
As you are looking to use JS for InfluxDB, you might be interested in backend, extension rather than mashup widget? For that purpose, you need to create a JAVA based ThingWorx extension. Probably you can wrap your java extension around the JS.
Using the InfluxDB Java Client as a ThingWorx Extension is the preferred way here (but note we use that library already for our Persistence Provider implementation so you just need to reference it, not include it in the extension).
We do not usually embed client-side (browser) complicated libraries that are used to interact with third party systems - that interaction is purely done from the ThingWorx server side.