Configuration files¶
GeoCat Bridge stores its configuration in one or more GeoCat.Bridge.config files.
These XML files can either be shared (i.e. for all users) or personal (current user).
License files
In addition to the configuration files, GeoCat Bridge may also look for license files named GeoCat.Bridge.lic in the same directories as the configuration files.
See License key & license file for more information about licensing.
Load order¶
When GeoCat Bridge is started, it will look for GeoCat.Bridge.config files in the following order:
- A shared configuration in the directory as defined by the
BRIDGE_HOMEsystem environment variable (if present). - Any configuration(s) in shared add-in directories that ArcGIS Pro is aware of.
- The personal configuration in the user profile directory (e.g.
%USERPROFILE%\Documents\ArcGIS\AddIns\ArcGISPro\{9d56cd06-73bd-4e0e-bca4-3c037e21aecb}).
File structure¶
Each configuration file consists of a set of so-called data spaces and a list of global options.
It also keeps track of when the configuration file was last modified, and which model version it has.
The model version should be compatible with the version of GeoCat Bridge that you are running.
If the version is lower than the actual version, GeoCat Bridge will try to upgrade the configuration file(s) automatically.
Info
If GeoCat Bridge cannot find any (valid) configuration file(s), it will create a new personal one in the user profile directory. That file will have all the default global options, but does not contain any data spaces.
Global options¶
GeoCat Bridge will use the global options of the first shared configuration that is found (see load order above). Since these apply to all users, they will overrule any global options in the user profile configuration, and will be read-only (locked).
If no shared configuration is found, the global options from the personal user configuration will be used. In that case, the user will also be able to change these options.
Data spaces¶
Data spaces can be shared or personal.
A data space from a shared configuration file will be available to all users, and it is read-only (locked).
By default, each newly created data space is stored in the personal configuration file (in the user profile). This means that these data spaces are editable by the user that created them.
Info
If you notice that all your data spaces are missing when you start GeoCat Bridge, then it is likely that the configuration failed to load. See Troubleshooting.
Bridge home directory¶
There may be scenarios where you wish to keep the GeoCat.Bridge.config file separated from the shared add-in directory.
If this applies to you, then you may set a BRIDGE_HOME system environment variable and point it to the directory path that contains the GeoCat.Bridge.config file.
For example, if your file is located at C:\MyConfigs\GeoCat.Bridge.config, then you should set the BRIDGE_HOME variable to C:\MyConfigs\.
Warning
The BRIDGE_HOME directory is only intended for shared configuration and/or license files.
You should not place the GeoCat.Bridge.esriAddinX add-in executable in this directory.