Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
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
Hello,
I guess you are using Excel to open your CSVs? Instead of opening the file by double-clicking on it, try to do it by going to Excel first, and then File > Open.
/ Constantine
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
Aditya,
Did you try all four options, and none works for you? That would be strange. Maybe upload an example CSV file?
/ Constantine
Hi Constantine,
Thanks for the reply.
The 3rd option is working for me.
Thanks,
Aditya