1.7

Table Of Contents
Note
l
Post Function: Enter a JavaScript expression to be run after the extraction.
A Post function script operates directly on the extracted data, and its results
replace the extracted data. For example, the Post function script replace("-",
""); would replace the first dash character that occurs 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
Concatenation string:
l
Split: Separate the selection into individual fields based on the
Concatenation string defined above.
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
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" on page199.
PDF File
l
Field List: The Field List displays each of the single fields that are being extracted in a
drop-down. Fields can be re-ordered and re-named within the Ordering and Renaming
Fields dialog. Select one of the fields to make further settings for that field.
l
Add JavaScript Field: Click to add a new extract field. By default, the field will be a
JavaScript -defined field rather than a data extraction, of String data type.
l
Remove Extract Field: Click to delete the selected extract field from the list.
l
Order and rename fields: Click to open Ordering and Renaming Fields.
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 the Record Set.
Page 194