Import Excel Files
When the Excel Import Adapter is used to import Excel files, the following format must be used:
-
Row 1 – Technical column name
-
Row 2 – Friendly column name put through DSP® translation
-
Row 3 – n: Data
When the import runs, the adapter matches the technical column names from the worksheet (row 1) with the column names in the Excel Import Table Name field and only imports data for columns where the column names match. This configuration allows for columns to be added to the Excel worksheet for calculations, formulas, etc. without affecting the import.
To use the Excel Import Adapter to import an Excel file:
-
Select Toolkit > Excel in Navigation pane.
-
Click Add.
-
Enter the table name to import in the EXCEL IMPORT TABLE NAME field.
-
Click Save; Vertical View displays.
-
Click Excel Use Excel2007 check box to use Excel 2007 or 2010 (i.e., .xlsx). If disabled, Excel 97-2003 (i.e., .xls) is used.
-
Enter a value in Excel Where Clause field to limit data when extracting data.
-
Enter a table name of the calling component’s database into which import from the Excel file is processed in Excel Import Table Name field.
-
Enter a location (name and path on the application server) of file to use for import in Excel Upload File Name field.
NOTE: It is recommended to use the full physical path to the file. If a virtual path is used, the navigation of the virtual path begins at the [DSP® Installation Directory]\web\UserArea\[Calling application’s WebAppID]\ folder.
-
Click Excel Delete On Import check box to enable it, deleting all data from the Excel Import Table Name before data from the Excel file is imported.
NOTE: If an Excel Where Clause is entered, the delete function will be limited by the where clause.
- Enter a name of worksheet in Excel workbook that contains data for the import in Excel Import Sheet Name field.
- Enter a column name on Excel Import Table Name to default a value for each record imported in Excel Import Default Column field, if a default value is used.
- Enter a value to write to Excel Import Default Column for each record imported in Excel Import Default Value field, if a default value is used.
- Enter a number of records to write to the database from the Excel file at one time during the import process in Excel Import Batch Size field.
- Click Excel Create Table For Import If Not Exists check box to enable it, creating a table named for the Excel Import Table Name, which contains all the imported data.
- Select a data source from Excel Import Data Source ID list box if Excel writes to a data source other than current data source. The default is to write to the same data source.
- Click Save.
- Click Import From Spreadsheet and browse to Excel file to upload; a confirmation message displays.
- Click Ok.
- Click File To Import to download the file to import.
Was this article helpful?
Sorry about that.
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
Want to tell us more?
Send an email to our authors to leave your feedback.
Great!
Thanks for your feedback.