Table of Contents |
---|
Über den CsvDataProvider
kann auf .csv-Dateien zugegriffen werden.
Konfiguration
...
Neben der Mapping
- & SearchParameters
-Konfiguration, welche alle DataProvider
der Datenschnittstelle benötigen, kann der CsvDataProvider
über das Option
-Element konfiguriert werdenVia the CsvData provider .csv files can be accessed.
Configuration
In addition to the Mapping
and SearchParameters
configuration, which all DataProvider
s of the Data interface require, the CsvDataProvider
can be configured via the Option
element:
Code Block |
---|
<CsvDataProvider DisplayName="KundenadressenCustomer addresses"> <Options> <FilePath>\\fileshare\addressdata.csv</FilePath> <HasHeaders>true</HasHeaders> <Delimiter>,</Delimiter> </Options> ... </CsvDataProvider> |
FilePath
: string, Pfad path to csv filePfad zur CSV DateiHasHeader
: bool, Angabe ob die erste Zeile eine Kopfzeile istindication whether first row is a header rowDelimiter
: string, Angabe des Trennzeichens.
Beispiel
...
indication of the delimiter
Example
Code Block | ||
---|---|---|
| ||
<CsvDataProvider DisplayName="KundenadressenCustomer addresses"> <Options> <FilePath>\\fileshare\addressdata.csv</FilePath> <HasHeaders>true</HasHeaders> <Delimiter>,</Delimiter> </Options> <SearchParameters> <Text Id="Firma" Label="Firmenname" /> <Text Id="Ort" Label="Ort" /> </SearchParameters> <Mapping> <Map Source="Firma" Target="CompanyName" /> <Map Source="Strasse" Target="Street" /> <Map Source="PLZ" Target="PostalCode" /> <Map Source="Ort" Target="City" /> <Map Source="Land" Target="Country" /> </Mapping> </CsvDataProvider> |
...