Parse Delimited form - Completing the Parse Rules tab
Complete this tab to identify the input character that delimits fields in the input file, and to configure a mapping from parsed input data to the clipboard or to other destinations.
Field descriptions
Field | Description |
---|---|
Field Format | Select:
|
Delimiter | If you selected Custom Definition for the Field Format ,
enter the character that separates each field in the input record. Enter one of the
following
You cannot enter an octal or hexadecimal character value here. |
Escape Character | Optional. If you selected Custom Definition for the Field
Format , specify a character that, when it immediately precedes the delimiter
character, causes that one delimiter character to be ignored and become part of the
input data. For example, if a comma is the delimiter character, and you enter a backward slash (\) in this field, input text containing:
produces three parsed segments. The last segment contains a comma (and no backward slash):
To define the escape character as the value of a property reference, enter an equals sign (=) followed by a property reference in the form pagename.propertyname, where this property contains the escape character at runtime. If you leave this field blank, the system uses a backslash character as the escape character. |
Processing method
Field | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Processing Method | |||||||||
Method |
Indicate how this parse rule operates at runtime. Select one:
For example, if the first record in an input file contains header information
that identifies the values in all the later records, you can choose If you plan to validate the page that contains the imported rows and save it as an instance in the database, remember that the tags must identify existing, defined properties. |
||||||||
Drain Remaining Data | When selected, at runtime the system ignores remaining data in the input record in the input data stream. If cleared, later processing can continue from the current position. |
Parsing details
Field | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Parsing Details | Complete this array to define the processing for each input field. Enter rows in the order the data appear in the input file. | ||||||||
Required | Select to mark an element as required. If the data on the input stream is exhausted but parse details marked Required remain, parsing halts. Data processed so far remains available on the clipboard. | ||||||||
Description | Enter text to describe this parse step. | ||||||||
Map To |
Enter the action to take in this parse step. Select:
build value
list . |
||||||||
Map To Key |
Identify the value of a key or value used in conjunction with the value you
entered into the Map To field:
If the Method field is set to
build value list , this field is
required. |