Export Conversations CSV In Correct Order

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
ko_games
Posts: 29
Joined: Wed Jan 08, 2020 3:20 am

Export Conversations CSV In Correct Order

Post by ko_games »

Hi Tony,

I'm trying to export a conversation I have written into a CSV file, but the issue I'm having is that when the file is exported the dialogue conversations appear to be ordered by the order I wrote each line. Not by the order of the actual conversation in Unity.

Sometimes when writing the dialogue for example, I went back and added in a new line here or there. Those newest lines when exported aren't in the right spot. They all get pushed down to the bottom when exported to CSV. Is there a way to export the dialogue into CSV with the dialogue lines in the same order that I have them organized in Unity? Or will they always be organized in the same order that I first entered each line?
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Export Conversations CSV In Correct Order

Post by Tony Li »

Hi,

From the Menu dropdown, you can choose Sort > Reorder IDs to reorder the IDs in a single conversation or all conversations. This will reassign IDs in a more logical manner:

sortIDs.png
sortIDs.png (36.19 KiB) Viewed 676 times

Then select Menu > Sort > By ID to sort them by ID so that when you export to CSV they'll be exported by ascending ID value.
ko_games
Posts: 29
Joined: Wed Jan 08, 2020 3:20 am

Re: Export Conversations CSV In Correct Order

Post by ko_games »

Thanks Tony! That worked!
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Export Conversations CSV In Correct Order

Post by Tony Li »

Glad to help!
Post Reply