TOPIC: Changing a CSV from COMMA to PIPE

Changing a CSV from COMMA to PIPE 28 Oct 2016 13:08 #2438

  • Dan231
  • Dan231's Avatar
  • Offline
Is it possible to change the CSV format from comma to pipe?
I have a 3rd part vendor who is requiring a PIPE separator
The administrator has disabled public write access.

Changing a CSV from COMMA to PIPE 28 Oct 2016 15:18 #2439

  • RonMoses
  • RonMoses's Avatar
  • Offline
Rather than lay out the fields side-by-side in the details section, create a formula that concatenates them into a single string with a pipe between each field. Then export that as text.
The administrator has disabled public write access.
The following user(s) said Thank You: Dan231

Changing a CSV from COMMA to PIPE 28 Oct 2016 18:44 #2442

  • Dan231
  • Dan231's Avatar
  • Offline
Pure Genius!
That should totally work. Now my problem is I have 1 filed that is huge and I can't export it without it truncating. Looks like the max I can get it width-wise is 200 (right-click text object:size and position). My longest full data line is 319.282 chars.
The administrator has disabled public write access.

Changing a CSV from COMMA to PIPE 28 Oct 2016 18:54 #2443

  • Dan231
  • Dan231's Avatar
  • Offline
Pure Genius!
That should totally work. Now my problem is I have 1 filed that is huge and I can't export it without it truncating. Looks like the max I can get it width-wise is 200 (right-click text object:size and position). My longest full data line is 319.282 chars.
The administrator has disabled public write access.

Changing a CSV from COMMA to PIPE 01 Nov 2016 18:34 #2446

  • RonMoses
  • RonMoses's Avatar
  • Offline
Do you want to set pipe as the delimiter at a global level? Or just for this one report? I'm looking at the Export Format Options file (available on the Start Menu) and I'm seeing this section:

<CharacterSeparatedValues>
<ExportMode>0</ExportMode> <!-- -1=Legacy, 0=Standard -->
<Delimiter></Delimiter>
<SeparatorText>,</SeparatorText>
<ReportSectionsOption>1</ReportSectionsOption> <!-- 0=Export, 1=ExportIsolated, 2=DoNotExport -->
<GroupSectionsOption>0</GroupSectionsOption> <!-- 0=Export, 1=ExportIsolated, 2=DoNotExport -->
</CharacterSeparatedValues>

I'm thinking you could change the SeparatorText value to a pipe character, but that would be a global change. If that works for you, it's worth trying. If not, I'm not sure what plan B is yet.
The administrator has disabled public write access.

Changing a CSV from COMMA to PIPE 01 Nov 2016 18:43 #2447

  • mholbrook
  • mholbrook's Avatar
  • Offline
Ron is correct. You would use the Export Format Options file. This is only available for Pro users. Are you running free or Pro? Thanks!

Matt
The administrator has disabled public write access.

Changing a CSV from COMMA to PIPE 01 Nov 2016 19:04 #2448

  • Dan231
  • Dan231's Avatar
  • Offline
I have not yet had a chance to read any of the manuals, I didn;t knwo this was even here. I would want these options on more of a per report basis. I am on Pro version.
The administrator has disabled public write access.

Changing a CSV from COMMA to PIPE 02 Nov 2016 12:56 #2450

  • Dan231
  • Dan231's Avatar
  • Offline
OK, the export options is working -sort of.
<ExportMode>0</ExportMode> <!-- -1=Legacy, 0=Standard -->
<Delimiter></Delimiter>
<SeparatorText>|</SeparatorText>
<ReportSectionsOption>1</ReportSectionsOption>
<GroupSectionsOption>1</GroupSectionsOption>

What this does, is any non-text (date, numbers) field is no quotes and a pipe, but any text still has quotes. I can't find a setting that removes the quotes.
The administrator has disabled public write access.

Changing a CSV from COMMA to PIPE 02 Nov 2016 13:06 #2451

  • Dan231
  • Dan231's Avatar
  • Offline
OK, the export options is working -sort of.
<ExportMode>0</ExportMode> <!-- -1=Legacy, 0=Standard -->
<Delimiter></Delimiter>
<SeparatorText>|</SeparatorText>
<ReportSectionsOption>1</ReportSectionsOption>
<GroupSectionsOption>1</GroupSectionsOption>

What this does, is any non-text (date, numbers) field is no quotes and a pipe, but any text still has quotes. I can't find a setting that removes the quotes.
The administrator has disabled public write access.

Changing a CSV from COMMA to PIPE 04 Nov 2016 16:35 #2461

  • RonMoses
  • RonMoses's Avatar
  • Offline
I agree there are some formatting options that would be preferable to have on a per-report basis. This is one, the ability to generate a group tree with PDF exports is another.
The administrator has disabled public write access.