Hi All,
I am exporting the output of one service using the Data Export widget. When I am exporting the output of the service, I am getting the output as .CSV file but the problem is that I am not getting the output column wise (different headers with values) rather I am getting all the output (headers with values) in one column itself.
Can anyone suggest. how can we export the output (column wise) like with different headers with their particular values .
Thanks,
Aditya Kumar
Solved! Go to Solution.
Hello Aditya,
In fact it's the specific issue of Excel not always opening CSV files correctly. See this post on Stack Overflow, it discusses it in great detail. Also consult with "official" Office documentation here.
To summarize, there are four things you can do to make it work:
SEP=,
It's up to you to choose the one which works best for you and your users.
Long story short -- ThingWorx generates correct CSV files, but Excel treats them in its own unique way.
/ Constantine
Attached the image of the output
Hi Constantine,
I tried first going to Excel, and then File > Open, still the problem exists.
Thanks,
Aditya
Hello Aditya,
In fact it's the specific issue of Excel not always opening CSV files correctly. See this post on Stack Overflow, it discusses it in great detail. Also consult with "official" Office documentation here.
To summarize, there are four things you can do to make it work:
SEP=,
It's up to you to choose the one which works best for you and your users.
Long story short -- ThingWorx generates correct CSV files, but Excel treats them in its own unique way.
/ Constantine
Hi Constantine,
Even now I am also doing the same thing.
Thanks for the reply.
Best regards,
Aditya Kumar
Hi Constantine,
Thanks for the reply.
The 3rd option is working for me.
Thanks,
Aditya
