Skip to main content
1-Visitor
January 25, 2018
Question

ThingWorx Azure Connection

  • January 25, 2018
  • 2 replies
  • 2504 views

Hi,

I tried creating a connection server between TW and Azure platform.

After downloading the Azure-iot-hub-connector from TW marketplace and configuring the azure-iot.conf file, I was able to connect both these platforms.

I have created a mashup wherein a user can add his credentials to log into his account and transfer files from TW to Azure and vice versa.

Now my requirement is to create a connection at runtime rather than configuring(hardcoding) it in the file ie, multiple users being able to connect to their account.

Any suggestions ??

Regards

Vinay

2 replies

5-Regular Member
January 29, 2018

vinay pawar​: Could you please clarify if the need is to create a run time  connection to Connection server or ThingWorx. Also, please share a sample of config file you used in your case.

-Durgesh

vpanwar1-VisitorAuthor
1-Visitor
January 29, 2018

Hi Durgesh,

I am able to connect to Azure and use Azure connection services,however since the connection is for a particular user(provided in the config file) ,I want the connection to be established for different users on runtime.

vpanwar1-VisitorAuthor
1-Visitor
February 2, 2018

I got it resolved by writing my own custom extension using Azure SDK which interacts with the Azure cloud.

Thanks

Vinay