Skip to main content
1-Visitor
September 14, 2019
Solved

how to import csv datas and save in infotable in thingworx

  • September 14, 2019
  • 1 reply
  • 1996 views

I tried to import through service by using csv parser but error message popped,so anyone help me to import the csv file in service. I attached the service code below

Best answer by PaiChung

Error says that this line is the issue:

var values = Things["vaata_Data"].CreateValues();

I would just comment that out for now verify that the parse actually produces an info table.

if that is the case then i'd tackle this issue, is this the auto created snippet for DataTable entry? 

1 reply

PaiChung22-Sapphire IAnswer
22-Sapphire I
September 16, 2019

Error says that this line is the issue:

var values = Things["vaata_Data"].CreateValues();

I would just comment that out for now verify that the parse actually produces an info table.

if that is the case then i'd tackle this issue, is this the auto created snippet for DataTable entry?