Each export configuration must have associated a connection file in WebOffice. This describes the data sources.

The association is done by the names of the files (e.g. CAD_DKM.xml <--> CAD_DKM.export.connection).

Within a connection file all data bases and ShapePaths from which data are exported must be contained.

To test the export with the WebOffice export author no connection file is required, but the file extension has to be changed from .xml to cadexport.config.setting (e.g. CAD_DKM.xml <--> CAD_DKM.cadexport.config.settings).

 

Example connection file for SQL Server:

<?xml version="1.0" encoding="UTF-8"?>

<WoExportConnectionInfos>

 <SDEConnectionInfo ConnectionName="name" server="" database="datenbankname" instance="Servername\sqlinstanz" SdeConnectionFile="D:\arcgisserver\directories\WebOfficeExport\Configuration\name.sde" DefaultConnection="false" />

</WoExportConnectionInfos>

 

Example connection file for Oracle:

<?xml version="1.0" encoding="UTF-8"?>

<WoExportConnectionInfos>

 <SDEConnectionInfo ConnectionName="name" server="" database="" instance="Oracle Service Name" SdeConnectionFile="D:\arcgisserver\directories\WebOfficeExport\Configuration\name.sde" DefaultConnection="false" />

</WoExportConnectionInfos>

 

<WoExportConnectionInfos>

<ConnectionInfo*>

ConnectionName*

Designation of the connection. This designation will be referred to in the export configuration.

DefaultConnection*

true or false

If true, this connection is used for all tasks in the configuration that do not explicitly specify a ConnectionName.

<ShapeConnectionInfo>

path

Directory where the Shape files are stored that need to be exported.

<pGDBConnectionInfo>

path

Path to PersonalGeodatabase (.mdb).

<fGDBConnectionInfo>

path

Path to FileGeodatabase (.gdb)

<SDEConnectionInfo>

server

blank

database

SQL: Name of the database

Oracle: blank

instance

SQL: Server and instance name

Oracle: Service name

SdeConnectionFile

Path to SdeConnectionFile. It is recommended to store the SDE connection file for example in the WebOffice export configuration directory (C:\arcgisserver\directories\WebOfficeExport\Configuration).

 

Note:
It must be ensured, that the VertiGIS WebOffice Extension Service user has permissions on the directory.

 

*Attributes which can be used for Shape, pGDB, fGDB and SDE connections.