Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Is it possible to create things from a spreadsheet? I have about 40 properties for my "things" and I would love to be able to import rather than enter each on in by hand. Thanks!
Solved! Go to Solution.
Export to a csv, and use CSVParser extension ( http://marketplace.thingworx.com/downloads/csv-parser/ ) to do it.
Export to a csv, and use CSVParser extension ( http://marketplace.thingworx.com/downloads/csv-parser/ ) to do it.
Thanks Carles!
Your welcome.
As it's not documented, when you set ReadCSVFile service parameters on CSVParserFunctions resources, for the parameter "columnMappings" use ";" to separate the different CSV file columns.
Best Regards,
Carles.
Hi Brian,
Looks like carlesc answer has you up and running - great!
Would you please click the "Correct Answer" button within his answer? This way the rest of the Community knows the solution too.
Have a great day and thank you for the answer Carles.
Best,
Toby
I achieved creating things from a spreadsheet today. Here are a couple of notes to help others who may be trying to do it:
If you would like to know some more specifics, please don't hesitate to send me a message.
Hi Brian,
Can you add a code example for ReadCSV function to read file contain:
"Value","Data"
"Value1","Data1"
"Value1","Data1"
and show the data in an infotable !
Thanks