This endpoint is reading Excel files (XLS, XLSX) and is used for file objects are transformed into the VI XML format and finally stored in the geodatabase. First you have to declare a comma-separated list of, which are being transformed into Excel-XML format afterward.
This format has the following structure:
<excel filename=”Test.xlsx”>
<cell ref="Blatt1!A1" type="string">value1</cell>
<cell ref="Blatt1!A2" type="numeric">value2</cell>
…
<cell ref="BlattN!Z2" type="date">valueN</cell>
</excel>
Every cell, that contains a value, is written tot he XML. The ref attribute contains the sheet and cell reference. The attribute type is the cell data type with the following values: string, numeric, date, boolean, and blank. A type date cell has the yyyy-MM-dd'T'HH:mm:ss pattern.
The next step transforms the format to the VI XML format via XSLT. The XSL file can be declared at the service point with the XSL file parameter. If you click on the icon next to it, a text editor will be opened and you can edit the XSL file. After the file was successfully migrated into VertiGIS Networks, the Excel file is moved into the archive path and is deleted from the original directory. If this should not happen, no parameter must be entered in the archive path. Here it is also possible to import multiple files at a time. This is done using the wildcard filter.
Example:
The following files should be read from C:\ drive: Test1.xlsx, Test2.xlsx, Test3.xlsx
This can be defined by specifying a wildcard pattern ''*'' in the file name: C:\Test*.xlsx
The following table shows an overview of the Excel Inbound Parameter:
Parameter |
Value |
Required |
---|---|---|
Name |
Endpoint Service name. |
X |
Type |
Endpoint Service type. The value should be "Excel Inbound". |
X |
Description |
Service Endpoint Description |
|
Path |
Path to the Excel file or files. A wildcard filter can be specified here. Example: C:/Test*.xlsx |
|
Archive Path |
The path where the Excel file(s) should be moved. |
|
Sheets |
Comma-separated list of sheets that you want to export from the Excel file. Example: Sheet1, Sheet2 |
|
XSL Parameter |
Optional parameters used for the to VI XML format transformation. |
|
XSL file |
Is a stylesheet in which the associations between the incoming data and the VertiGIS Integrator are defined in a temporary XML file. |
X |
Target Version |
SDE version in which the data is stored. |
|
Outbound Endpoint |
Handles the incoming data from an Excel inbound source, facilitating data transmission and integration processes. |
|
Protocol XML |
Used to specify which XML files will be in the Protocol table. It has 4 possible values: •VI XML + Request + Response •VI XML •Request + Response •None |
X |