Exporting Filemaker for CiviCRM » History » Version 3
Jon Goldberg, 03/20/2016 02:17 AM
1 | 3 | Jon Goldberg | {{lastupdated_at}} by {{lastupdated_by}} |
---|---|---|---|
2 | |||
3 | |||
4 | 1 | Jon Goldberg | h1. Exporting Filemaker for CiviCRM |
5 | |||
6 | Filemaker data is obviously a lot less uniform than data from another CRM, but I'm documenting some tips and tricks here. |
||
7 | |||
8 | 2 | Jon Goldberg | h3. File encoding |
9 | |||
10 | Specify in Kettle that input files exported as "Windows (ANSI)" (the default on Windows) are opened as file encoding CP-1252. |
||
11 | |||
12 | h3. Converting vertical tabs |
||
13 | |||
14 | Here's a Javascript snippet I use in Kettle to convert them to separation characters: |
||
15 | |||
16 | <pre> |
||
17 | var Activities; |
||
18 | |||
19 | Activities = replace(Activities,'\v', '\x01'); |
||
20 | </pre> |
||
21 | |||
22 | Note that sometimes I'll want to convert them to newlines instead. |