Skip to Content
DocsConfigurationEnvironments

Environments

Environment is a set of variables defined at the InfoLink instance (vs application) level. An application can import environments and use their variables. Note that environment variables have lower priority than application variables: an application variable redefines the environment variable with the same name. Environments are used to define configuration specific to your environment outside applications thus allowing to move applications between environments (or even organizations) without modifying applications.

Managing Environments

To manage environments, go to the home page and click on Environments tab:

  • Click Create or Import buttons in the toolbar to create or import environments. Importing environments accepts the JSON format produced by the environment export function described below.
  • Click on the name of an environment to open the environment.
  • Right-click on an environment in the environment list to Edit comment, Rename, Export, Export as template, or Delete the environment. Export exports the environement in a JSON format that you can used for Import. Export as template will replace all variables’ values with undefined. Environment templates are used for application distribution where environment templates play the role of application configuration parameters.

Managing Environment Variables

Open an environment by clicking on its name in the environments list to see a list of the environment variables. The environment variables list has the following functionality:

  • Click *Add button in the toolbar to create a new variable. If you check the Secret checkbox, the variable value will be hidden in the environment variables list.
  • Click Edit or Delete button on a variable in the environment variables list to edit or delete the variable respectively.

Importing Environment in an Application

Open an application and click Environments button in the header. A popup window will appear with a list of imported environments. Click Edit button to open a window with the list where you can Add or Delete imported environments.

The order of the imported environments is important: an imported environment redefines variables from the previous imported environments in the list in case when variables have the same name.

Also note that environment variables have lower priority than application variables: an application variable redefines imported environment variables with the same name.

Last updated on