Settings.xml XML format for virtual SQL databases

Files in the settings.xml file format are used to define virtual databases within Invantive’s on-premises products, such as the Invantive Query Tool, Invantive Data Replicator and Invantive Control for Excel.

Databases are grouped into groups. Each database consists of one or more so-called “data containers”, together with definitions for any routing and failover connections. Data containers and other Invantive SQL concepts are explained in more detail in the SQL grammar.

The settings.xml file format is based on XML, preferably in Unicode format, and works on all operating systems: Windows, MacOS, Linux, Android and iOS.

The formal definition of the settings.xml XML format can be found at Settings.xml - Invantive.

File location

The settings.xml file is searched for in various locations. Usually, these files can be found in %USERPROFILE%\invantive, but other folders can be configured. In addition, when starting up the Invantive software products for Windows, you can specify where the settings.xml file is located.

Special variants

Invantive products themselves create their own settings-discovery-*.xml file during the “discovery process”, containing the discovered local and cloud connections.

Example

An example of the contents of a settings.xml file is:

<?xml version="1.0" encoding="utf-16"?>
<!-- Example file Exact Online Netherlands with Belgium
-->
<settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  version="5"
  VersionUpdateDate="2020-11-27T12:09:59.0756754Z">
  <group
    iconResourceName32="exact_online_32.png"
    sortingOrder="0"
    name="ACME"
    id="a9a1a317-f173-4410-8447-298fa4344a9a">
    <connection
      IconResourceName16="exact_online_16.png"
      sortingOrder="10"
      id="c149becf-01d3-4a58-9ee7-7369f34bdff5"
      name="Exact Online NL plus BE"
      authentication="Default">
      <database
        order="10"
        alias="be"
        provider="ExactOnlineAll"
        connectionString="api-url=https://start.exactonline.be"
        AllowConnectionPooling="false" />
      <database
        order="20"
        alias="nl"
        provider="ExactOnlineAll"
        connectionString="api-url=https://start.exactonline.nl"
        AllowConnectionPooling="false" />
    </connection>
  </group>
</settings>

In this database “ACME”, both an Exact Online Belgium and an Exact Online Netherlands data container can be accessed simultaneously using SQL statements.

The connectionString contains the driver attributes with deviating settings as a semicolon-separated list. In this case, api-url is set.