This section describes the fields and available options when importing from an CSV file. You initiate import from a table's Actions > Data Exchange > Import CSV menu. CSV import presents you with several pages. Follow the links in the descriptions below for detailed information on each page:
File selection—From this page you can browse to select the file to import.
Preferences—Use the drop-down menu on this page to specify an existing set of preferences to use for this import.
Configuration page—The options here determine basic configuration information.
Column mapping—This page allows you to map the columns from tables to those in the Excel file.
Simulation page—From this page you can run a simulation and view results prior to performing the actual import operation.
Results page—This page shows you the import results.
Preferences allow you to automatically populate fields, and map between a source and target using saved information. This page contains the options shown in the following table:
List | Definition |
---|---|
Preference | Choose a preference to load configuration and mapping information. |
This page allows you to modify behavior of the import. Part of the modification can include specifying Java classes to transform, or validate data. This page contains the options shown in the following table:
Property/Field/List | Definition |
---|---|
Import mode |
|
First row contains header | Use this option to specify whether the first row of every column in the file being imported is a label (Header), or contains data to import (No header). |
File encoding | Specifies the character encoding to use. The default is UTF-8. |
Separator | Specifies the separator to use. The default is ';'. |
List separator | Specifies the separator to use for values lists. |
Line return | Specifies the line return used in the file. |
Delimiter | The character used to mark the beginning and end of a cell in the CSV file. By default, CSV files do not use a delimiter. If you select 'Only string', the delimiter is only used for String data types. |
Decimal symbol | The character used to denote a decimal. |
Force import | Specifies that all triggers and constraints are disabled when this option is activated. Otherwise, all triggers and constraints are enabled. |
Download file of invalid data | Export all records with errors in their data rows to a downloadable file. |
Use case-sensitive comparison when matching the header | Differentiate between lower-case and upper-case when matching the imported file's column header with the field's label in EBX®. |
Ignore the empty or null values | By default, the existing record is not updated with null and empty cell values from the imported file. |
Check empty or null primary keys | The add-on verifies that all primary keys are mapped and validates the data before importing. If you disable this option, the add-on does not perform this verification. |
Extensions | Specifies the Java class that is implemented to transform data during import/export processing. |
Validators | Specifies the Java class that is implemented to validate data during import. |
This page allows you to map source columns in the CSV file with EBX® table columns. Use the drop-down list next to each table column to specify which source gets mapped to which target. You can use the tooltip icon next to each mapping to display additional transformation information. Additionally, at the top of the screen, you can expand Data file sample to see a preview of how the current mapping would import.
This page allows you to use the current configuration and mapping settings to simulate import. The simulation results can include different levels (error, warning, and information) of technical, validation, and business messages. Use the result information to make any needed changes before performing the actual import.
The table below describes the page's main components.
Options | Definition |
---|---|
Validate imported records only | When selected, the validation report only runs on the records being imported. If unselected, the report also includes all records in the target table. |
Skip validation report | When checked, the simulation result does not include the detailed validation report. |
Simulation stopped | Select conditions that determine when to stop the simulation. |
Simulation result | Displays simulation results on a table-by-table basis. Each tab corresponds to a simulation for a table. |
Import option | Choose whether to stop the import process when there are validation errors. |