Skip to main content
1-Visitor
April 5, 2019
Question

How To import JSON file to Thingworx

  • April 5, 2019
  • 1 reply
  • 4521 views

Hi,

 

I am new to the Thingworx. I have followed the https://developer.thingworx.com/en .

 

The example uses .xml file for import. Instead of that I want to use JSON file.

 

How can I do that? Please guide.

 

Regards,

shreekant

1 reply

22-Sapphire I
April 5, 2019

Please do a search through the Forum as there are plenty of articles on importing JSON

but similar to the XML example, there is a content loader function to retrieve JSON content

Thingworx will automatically make that into an object.

Please note if the JSON is an array at the top level, Thingworx will add a level called array

i.e. jsonObject.array.[your json structure here]

shreekant1-VisitorAuthor
1-Visitor
April 9, 2019

Hi,

Thanks for your reply. But as I said that I am a beginner to this, I am not sure from where to start. I have followed getting start guide and created dashboard on hosted server. Now I want to use same example but just want to add .json file instead of .xml file. It would be much helpful for me if you let me the steps for doing this.

 

Regards,

shreekant

5-Regular Member
April 9, 2019

Greetings,

 

Is there a particular TWX DevPortal guide with which you're having issue? 

 

Are there specific instructions that aren't working correctly? 

 

If so, please provide us with a URL of the guide in question, and we'd be happy to investigate. 

 

Thank you,

Jason