Skip to main content
Skip table of contents

Configuration Overview

WebDigAIRange requires a configuration file to define its runtime behavior. The configuration can be provided either entirely through a local settings.json file or in combination with a Parameter Service.

Configuration Sources

WDA supports two configuration sources:

  1. Local Configuration — via settings.json

  2. Remote Configuration — via the Parameter Service

settings.json

The settings.json file is always required, regardless of whether the Parameter Service is used.

It defines essential application settings and may optionally override parameters retrieved from the service.

Using Without Parameter Service

If no Parameter Service is configured, all configuration values must be defined in settings.json.

Using With Parameter Service

If a Parameter Service is configured, the following rules apply:

  • The following core parameters must always be present in settings.json:

    • locale

    • program

    • service

    • DpeURL

  • All other parameters are fetched from the Parameter Service by default.

  • The root folder is called WebDigAIRange.

  • If a parameter is defined both in settings.json and provided by the Parameter Service, the value from settings.json takes precedence.

Naming Convention

In the Parameter Service, parameters that are organized within a folder structure are represented in the settings.json file using a specific syntax. Each parameter is prefixed with the folder name, followed by a double backslash. For example, if you have a folder named "Folder" containing a parameter named "parameter," it should be written as Folder\\parameter in the settings.json file.

JSON
{
  "Folder\\parameter": "value"
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.