invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Folders

The Invantive products store configuration and runtime information in a folder hierarchy. This hierarchy is located within the Invantive folder of the user profile. It can be opened in Windows Explorer by entering %USERPROFILE%\Invantive in the location bar.

The following environment variables control location of folders and are available on all platforms and products:

  • INVANTIVE_CONFIGURATION_USER_PROFILE_FOLDER: the master folder. Defaults to the user profile directory.
  • INVANTIVE_CONFIGURATION_FOLDER: the configuration master folder. Defaults to the master folder plus Invantive.
  • INVANTIVE_CONFIGURATION_BACKUP_FOLDER: the folder with backups of settings files. Defaults to the configuration master folder plus Backup.
  • INVANTIVE_CONFIGURATION_CACHE_FOLDER: the folder with disk cache files. Defaults to the configuration master folder plus Cache.
  • INVANTIVE_CONFIGURATION_HTTP_CACHE_FOLDER: the folder with HTTP disk cache files. Defaults to the root cache folder plus http and the OS-user and front-end user.
  • INVANTIVE_CONFIGURATION_PUBLIC_CACHE_FOLDER: the folder with HTTP disk cache files of public nature. Defaults to the root cache folder plus public.
  • INVANTIVE_CONFIGURATION_PERMANENT_CACHE_FOLDER: the folder with permanent disk cache files such as backups of Swagger specification files. Defaults to the root cache folder plus permanent and the OS-user and front-end user.
  • INVANTIVE_CONFIGURATION_INCREMENTAL_DATA_FOLDER: the folder with permanent incremental data files such as Exact Online sync APIs. Defaults to the root cache folder plus incdata and the OS-user and front-end user.
  • INVANTIVE_CONFIGURATION_DATA_CACHE_CACHE_FOLDER: the folder with Data Cache disk cache files. Defaults to the root cache folder plus datacache. Disk cache files improve performance of HTTP downloads, but when necessary can be purged.
  • INVANTIVE_CONFIGURATION_KEYCHAIN_FOLDER: the folder with the Invantive Keychain file. Defaults to the configuration master folder. Available from release 27.0.
  • INVANTIVE_CONFIGURATION_LOG_FOLDER: the folder with log files. Defaults to the configuration master folder plus Log.
  • INVANTIVE_CONFIGURATION_NATIVE_LOG_FOLDER: the folder with native call logs. Defaults to the configuration master folder plus NativeLog.
  • INVANTIVE_CONFIGURATION_DATABASES_FOLDER: the folder with databases files. Defaults to the configuration master folder.
  • INVANTIVE_CONFIGURATION_PLUGINS_FOLDER: the folder with plugin files. Defaults to the configuration master folder plus Plugins.
  • INVANTIVE_CONFIGURATION_PROVIDERS_FOLDER: the folder with provider files. Defaults to the configuration master folder plus Providers.
  • INVANTIVE_CONFIGURATION_RSA_FOLDER: the folder with RSA configuration files. Defaults to the configuration master folder plus RSA.
  • INVANTIVE_CONFIGURATION_TEMPLATES_FOLDER: the folder with template files. Defaults to the configuration master folder plus Templates.
  • INVANTIVE_CONFIGURATION_TRACE_FOLDER: the folder with trace files. Defaults to the configuration master folder plus Trace, such as %USERPROFILE%\Invantive\Trace on Microsoft Windows and ~/Invantive/Trace on Linux and macOS. INVANTIVE_TRACE_FOLDER takes precedence when set. The default folder is created at installation and at the first start of a product, also when trace to file is off. Before release 27.0.84, the desktop products and Invantive Data Hub wrote to the temporary folder of the operating system instead, and the folder was not created in advance.
  • INVANTIVE_I18N_FOLDER: custom translations that overrule default translations.
  • INVANTIVE_WORKSPACE_FOLDER: location of workspace folder for developers. Defaults to the personal folder on Linux and macOS, and to c:\ws or the ws subfolder of Documents on Microsoft Windows.
  • INVANTIVE_CONFIGURATION_ENVIRONMENT_FOLDER: the folder with environment definition files. Defaults to the configuration master folder plus Environment. Available from release 27.0.

Whether the backup folder is written to at all is controlled separately:

  • INVANTIVE_CONFIGURATION_BACKUP_SETTINGS: whether a settings file which was read successfully is copied to the backup folder as the last known good one. Defaults to true. Available from release 27.0.

Switching the copy off suits an installation whose folders are read-only or are replaced on every release. A copy which cannot be written is reported and does not stop the settings from being used, but it does mean there is no settings file to fall back on after a bad change. Where the fallback is wanted on such an installation, point INVANTIVE_CONFIGURATION_BACKUP_FOLDER at a folder which is writable and survives a release instead.

The values may contain any combination of the following placeholders which will be expanded (except for INVANTIVE_CONFIGURATION_USER_PROFILE_FOLDER):

  • iiid: Invantive Installation ID.
  • sessionid: Invantive session ID.
  • frontenduser: name of front-end user (when available).
  • osuser: name of operating system user.