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

Websocket connection to GetProperties outside of mashup

  • December 16, 2019
  • 1 reply
  • 2067 views

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?

Best answer by smainente

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.

1 reply

16-Pearl
December 18, 2019

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

1-Visitor
December 20, 2019

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

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.