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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Using additional libraries in thingworx

NiKlaus
12-Amethyst

Using additional libraries in thingworx

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. 

 

 

ACCEPTED SOLUTION

Accepted Solutions

3 REPLIES 3

Hi @NiKlaus  Look at he below reference article.

https://www.ptc.com/en/support/article/CS342798

Bikash_Panda
13-Aquamarine
(To:NiKlaus)

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.

Announcements


Top Tags