2022.1

Table Of Contents
l XPath: The path to the XML field that is extracted.
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 Post Function: Enter a JavaScript expression to be run after the extraction. For
examplereplace("-","")would replace a single dash character inside the extracted
string.
l Use JavaScript Editor: Click to display the "boundaries" on page421 dialog.
l Trim: Select to trim empty characters at the beginning or the end of the field.
Settings for location-based fields in a JSON file
These are the settings for location-based fields in a JSON file.
l JsonPath: The path to the JSON element that is extracted. The JsonPath can be relative
or absolute. An absolute path starts with $ (the root), a relative path starts with . (the
current element). For an overview of the JsonPath syntax, see https://github.com/json-
path/jsonpath.
Note
A JsonPath expression can define more than one item (for example: .* returns
anything in the current element). If more than one item is returned, the Extract step
will keep an array of all returned items.
The full JsonPath to an element is displayed at the bottom left of the window when you
select it. To copy the path, right-click it and select Copy.
l Use selection: Click to use the value of the current data selection for the extraction.
Page 374