When you upload Custom Contact Variables (CCV) the type of the CCV can be set.

This typemap is used to convert strings in both the Contacts Manager on the portal and via the API.


types that can be set include

  • String (used for text - this is the default)
  • Date 
  • Boolean 
  • Float
  • Integer
  • Array (multiple variables separated with a delimiter)


You set the CCV type in the Contact Manager.


To open the CCV type setting dialog

  1. Click the 'pizza' button on the right hand side and select CCV type map in the contact manager
  2. Once open you can set the type 

In the example the column 'mymeasure' is a type array . 

This is used when the column has multiple variables separated by a delimiter. 

When you set type Array, you must also set the delimiter. In the example below it's a | but it must reflect the delimiter that you use in the file.

Press Save.


Date Type

By default dates are parsed in ISO 8601 format.

It is also possible to define a custom format e.g. "MM-DD-YYYY"

The list of all available parsing tokens is: 

InputExampleDescription
YY18Two-digit year
YYYY2018Four-digit year
M1-12Month, beginning at 1
MM01-12Month, 2-digits
MMMJan-DecThe abbreviated month name
MMMMJanuary-DecemberThe full month name
D1-31Day of month
DD01-31Day of month, 2-digits
H0-23Hours
HH00-23Hours, 2-digits
h1-12Hours, 12-hour clock
hh01-12Hours, 12-hour clock, 2-digits
m0-59Minutes
mm00-59Minutes, 2-digits
s0-59Seconds
ss00-59Seconds, 2-digits
S0-9Hundreds of milliseconds, 1-digit
SS00-99Tens of milliseconds, 2-digits
SSS000-999Milliseconds, 3-digits
Z-05:00Offset from UTC
ZZ-0500Compact offset from UTC, 2-digits
AAM PMPost or ante meridiem, upper-case
aam pmPost or ante meridiem, lower-case
Do1st... 31stDay of Month with ordinal


Please note - New mapping will be applied going forward not retrospectively.