2021.1

Table Of Contents
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 Scripts
API" on page382.
l Use JavaScript Editor: Click to display the"boundaries" on page394dialog.
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.
If the selection contains multiple lines, only the first line is selected.
l Properties: The value of the property selected below will be the value of the
selected field.
l Property: This drop-down lists all the currently defined properties (including
system properties).
Custom properties can be defined in the Preprocessor step; see"Preprocessor
step" on page255.
For an explanation of the objects to which the properties belong,
see"DataMapper Scripts API" on page382.
l Choose a propertybutton: Click this button to open a filter dialog that lets you
find a property based on the first few letters that you type.
l Type: The data type of the selected data; see"Data types" on page286. Make sure
that the data format that the DataMapper expects matches the actual format of the
data in the data source; see"Data Format" on page350.
Settings for location-based fields in a Text file
l Left: Defines the start of the data selection to extract, counting the number of characters
from the left. E.g. 1 means: start with the first character from the left.
l Right: Defines the end of the data selection to extract, counting the number of characters
from the left. E.g. 3 means: stop after the third character from the left.
Page 346