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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Using additional libraries in thingworx

NiKlaus
7-Bedrock

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. 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Surya_Tiwari
13-Aquamarine
(To:NiKlaus)

3 REPLIES 3
Surya_Tiwari
13-Aquamarine
(To:NiKlaus)

Hi @NiKlaus  Look at he below reference article.

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

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.

Top Tags