2020.1

Table Of Contents
extractions within the same loop. This ensures that, if multiple extracts are present, only
one detail table is created.
Field Definition
The following field definition settings are identical for all fields.
l
Field List: The Field List displays each of the single fields that belong to the selected
step in a drop-down. Fields can be re-ordered and re-named within the Order and rename
fields dialog (see "Order and rename fields dialog" on page339). Select one of the fields
to make further settings for that field.
Tip
To change the name of a field quickly, right-click it in the Data Model and select
Rename.
l
Add Unique ID to extraction field: Check to add a unique numerical set of characters to
the end of the extracted value. This ensures no two values are identical in this field in the
record set.
l
Mode: Determines the origin of the data. Fields always belong to an Extract step, but they
don't necessarily contain extracted data. See "Fields" on page263 for more information.
l
Location: The contents of the data selection determine the value of the extracted
field. The settings for location-based fields are listed separately, per file type:
l "Settings for location-based fields in a Text file" on the next page
l "Settings for location-based fields in a PDF File" on page336
l "Settings for location-based fields in CSV and Database files" on page337
l "Settings for location-based fields in an XML File" on page338
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
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.
Page 334