2021.2

Table Of Contents
For an overview of the JsonPath syntax, see https://github.com/json-
path/jsonpath.
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 Trim: Select to trim empty characters at the beginning or the end of the
field
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384.
l Expression: The JavaScript expression to run.
l Use JavaScript Editor: Click to display the Edit Script dialog (see "Using
scripts in the DataMapper" on page387 and "DataMapper Scripts API" on
page384).
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.
Page 359