1.7

Table Of Contents
l
Post Function: Enter a JavaScript expression to be run after the extraction.
For example replace("-","") would replace a single dash character inside the
extracted string.
l
Use JavaScript Editor: Click to display the Script Editor dialog.
l
Trim: Select to trim empty characters at the beginning or the end of the field.
l
Type: The data type of the selected data; see "Data types" on page141. Make
sure that the data format that the DataMapper expects matches the actual
format of the data in the data source; see "Data Format" below.
l
JavaScript : The result of the JavaScript Expression written below the drop-down
will be the value of the extracted field. If the expression contains multiple lines, the
last value attribution (variable = "value";) will be the value. See DataMapper API.
l
Expression:
l
Use JavaScript Editor: Click to display the Script Editor dialog.
l
Use selected text: Inserts the text in the current data selection in the
JavaScript Expression. If multiple lines or elements are selected, only
the first one is used.
l
Use selection: Click to use the value of the current data selection for the
extraction.
Note
If the selection contains multiple lines, only the first line is
selected.
l
Type: The data type of the selected data; see "Data types" on page141. Make
sure that the data format that the DataMapper expects matches the actual
format of the data in the data source; see "Data Format" below.
Data Format
Format settings can be defined in three places: in the user preferences ("Datamapper
preferences" on page621), the current data mapping configuration ("Data format settings" on
page95) and per field via the Step properties.
Any format settings specified per field are always used, regardless of the user preferences or
data source settings.
Page 199