Skip to main content
Jun 11, 2019 5:53 PM UTC
Question

Thingworx service to get gateway name from remote thing

Hi

 

 I want to get gateway name from which remote things are binded/connected . Is there any service in Thingworx composer which can be used ?

 

 I am using two types of gateway :- IndustrialGateway , SDKGateway 

 

Regards

Rahul 

7 replies

Jun 12, 2019 7:21 AM UTC

What does you mean on Gateway name?

rahul3Author
Jun 12, 2019 5:13 PM UTC

Gateway is thing of any  Thing template of gateway type like IndustrialGateway which binds the remote thing to ingest the data from machine .

Jun 13, 2019 6:56 AM UTC

I'm not sure if that's what you are searching for, but if IndustrialGateway it's a ThingTemplate you can do a :

 

var gateways = ThingTemplates["IndustrialGateway"].QueryImplementingThings();