2020.2

Table Of Contents
The following data types are available in PlanetPress Connect.
l "Boolean" below
l "String" on page287
l "HTMLString" on page286
l "Integer" on page286
l "Float" on page285
l "Currency" on the next page
l "Date" on page282
l "Object" on page287
Note
The Object data type is only available in the DataMapper module. It can be used for
properties in the Preprocessor step, but not for fields in the Data Model.
Boolean
Booleans are a simple true/false data type often used in conditions and comparisons.
Defining Boolean values
l
Preprocessor:
l
In the Step properties pane, under Properties, add or select a field.
l
Specify the Type as Boolean and set a default value of either true or false,
followed by a semicolon.
l
Extraction:
l
In the Data Model, select a field.
l
On the Step properties pane, under Field Definition set the Type to Boolean.
The field value must be true or false.
l
JavaScript Expression: Set the desired value toeither true or false.
Example: record.fields["isCanadian"] = true;
Page 280