On the File structure page in the Data Import, specify how the file is structured.
Table 48: File structure
Number of lines in header |
Enter the number of head lines in the .csv file. The header is not imported. |
Columns identified by |
Indicator for column limits.
-
Select the Delimiter option if the data is separated by a semi-colon, comma, space, tab, pipe, or other character. Specify the line structure.
-
Select the Fixed width option if all the data in the columns has the same length. Specify the line structure. |
Detailed information about this topic
In Data Import on the Defining the line structure page, describe how the line structure is configured. If you have selected the Columns identified by delimiters option for the file structure, specify the following settings.
NOTE: The Line break preview pane displays the line structure according to the selected settings.
Table 49: line structure
Delimiter |
Delimiter used to separate the data in the file. You have the following options: Semicolon, Comma, Space, Tab, and Pipe.
If the data is separated by a different character, select Other: and enter the delimiter in the input field next to the menu. |
Text qualifier |
Character enclosing the column text. This text is treated as one value on import, even is the text contains the delimiter given as above.
NOTE: The delimiters are masked by doubling them up.
Example:
Delimiter: |
Comma (,) |
Text qualifier: |
Quotation mark (") |
Value in file: |
"Smith,Bill" |
Value after import: |
Smith,Bill |
|
|
Delimiter: |
Comma (,) |
Text qualifier: |
Not given or other character: |
Value in file: |
"Smith,Bill" |
1st value after import: |
"Smith |
2nd value after import: |
Bill" | |
Mask delimiter by doubling |
Specifies whether the data is separated by several of the same delimiters. Data that contains a new line must be marked with a text qualifier.
Example:
Delimiter: |
Comma (,) |
Mask delimiter by doubling: |
Enabled |
Value in file: |
Smith,,Bill |
Value after import |
Smith,Bill |
|
|
Delimiter: |
Comma (,) |
Mask delimiter by doubling: |
Not set |
Value in file: |
Smith,,Bill |
1st value after import: |
Smith |
2nd value after import: |
|
3rd value after import: |
Bill | |
Multiple values in / delimited by |
Specifies whether the import contains a multivalued property column (MVP) and the column should not be imported directly. Individual values are entries in another table and should be linked through a many-to-many table.
- Using the menu, specify Multiple values in the column in question.
- In Delimited by: enter the values' delimiter.
The column values are split up. A new line is generated for each value although the rest of the columns remain the same.
Example:
The line
John;Smith;Org1|Org2|Org3
is converted by suitable settings to the import source
John;Smith;Org1
John;Smith;Org2
John;Smith;Org3 |
Related topics
In Data Import on the Defining the line structure page, describe how the line structure is configured. If you have selected the Columns identified by fixed width option for the file structure, specify the width of the columns.
- Click on the ruler in the Data Import preview to set a separation point. A separation mark is inserted.
- When you click again on a fixed separation point, the separation mark is deleted.
Related topics
To exclude individual data records from the import, you can specify a condition for the lines to be imported on the Line condition page in the Data Import.
Format the condition in VB.Net syntax. The columns are accessed with dollar notation. For detailed information about scripts in One Identity Manager, see the One Identity Manager Configuration Guide.
Access using column indexing (0...n)
Example:
Do not import the data record if the first column contains the OLD value.
Value = $0$<>"OLD"
Access using column identifier
If a header is defined, you can use the column identifier for access.
Example:
Import the data record if the column with the name NewData contains the True value.
Value = $NewData:Bool$