Data Source XML format
Overview
Stored in datasources/{catalog.Id}.xml within the .vdox archive.
This XML file defines an external data catalog (Data Source) linked to a document for the Databinding feature. A catalog connects external data (such as Excel spreadsheets, CSV files, or database queries) and maps items to an Article Type.
File Structure
The root element is:
Catalog
Contains a single section:
Properties— metadata, connection details, and type bindings.
Properties Reference
| Property | Type | Description |
|---|---|---|
Id |
string |
Unique identifier (GUID) of the data source / catalog |
Name |
string |
Display name of the catalog |
Description |
string |
Optional description of the catalog |
ProviderType |
string |
Provider implementation identifier (e.g. Excel, Csv) |
ConnectionString |
string |
Connection path or configuration string to the data source |
ArticleTypeId |
string |
Identifier (GUID) of the linked Article Type |
ArticleIdPropertyName |
string |
Name of the column/property serving as the primary key |
Example
<?xml version="1.0" encoding="utf-8"?>
<Catalog>
<Properties>
<Prop name="Id" value="4a2b9f31-5612-4c28-98e3-0d65b1129bca" />
<Prop name="Name" value="Servers Inventory" />
<Prop name="Description" value="Production servers from Excel" />
<Prop name="ProviderType" value="Excel" />
<Prop name="ConnectionString" value="./inventory.xlsx" />
<Prop name="ArticleTypeId" value="2cb9b21f-47b7-4e4c-b65c-e905168c9e8a" />
<Prop name="ArticleIdPropertyName" value="ServerHostname" />
</Properties>
</Catalog>