Skip to main content
1-Visitor
Jan 25, 2018 3:05 PM UTC
Question

ThingWorx Azure Connection

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

3 replies

5-Regular Member
Jan 29, 2018 12:54 PM UTC

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

Translate
vpanwar1-VisitorAuthor
1-Visitor
Jan 29, 2018 1:05 PM UTC

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.

Translate
vpanwar1-VisitorAuthor
1-Visitor
Feb 2, 2018 7:50 AM UTC

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

Thanks

Vinay

Translate