Skip to main content
1-Visitor
December 16, 2019
Solved

Websocket connection to GetProperties outside of mashup

We're attempting to bind to the GetProperties websocket from a web application outside of Thingworx in the same way as we would within an mashup via the "update automatically" checkbox. Is this possible?

smainenteAnswer
16-Pearl
December 20, 2019

The JS lib is <Thingworx>/Runtime/tw-javascript-sdk/Common/tw-javascript-sdk/tw-javascript-sdk-0.2.0.js

But I don't think it is designed to be used outside a mashup and this is not a public SDK.

4 replies

16-Pearl
December 18, 2019

It can be tricky, the AlwaysOn Javascript SDK used by the GetProperties is not documented nor supported.

Translate
1-Visitor
December 20, 2019

Do you have any information on it? A bit of sample code or anything?

Translate
smainente16-PearlAnswer
16-Pearl
December 20, 2019

The JS lib is <Thingworx>/Runtime/tw-javascript-sdk/Common/tw-javascript-sdk/tw-javascript-sdk-0.2.0.js

But I don't think it is designed to be used outside a mashup and this is not a public SDK.

Translate