Skip to main content
1-Visitor
August 16, 2017
Solved

Create CSV File Using a Service

  • August 16, 2017
  • 3 replies
  • 2919 views

Hi,

Is it possible to create a CSV file from an infotable using a service and save it into a file repository?

David.

Best answer by ytella

Hi David Keeley,

Just to add what Pai Chang has already suggested, you can refer to the below document for using the CSV Parser or Parsley extension:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS255612&art_lang=en&posno=2&q=csv%20file%20creating&ProductFamily=ThingWorx%7CNRN%7CAxeda&source=search

Hope this helps!

3 replies

22-Sapphire I
August 16, 2017

You'd have to add your own parsing I believe and then do a SaveText (Service that is part of a FileRepository)

You could check the CSV parser extension to see if it has a write CSV, I vaguely remember it having it.

dkeeley1-VisitorAuthor
1-Visitor
August 16, 2017

Thanks Pai. I'll look into that now.

David.

ytella17-PeridotAnswer
17-Peridot
August 16, 2017

Hi David Keeley,

Just to add what Pai Chang has already suggested, you can refer to the below document for using the CSV Parser or Parsley extension:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS255612&art_lang=en&posno=2&q=csv%20file%20creating&ProductFamily=ThingWorx%7CNRN%7CAxeda&source=search

Hope this helps!