Skip to content

Enviroment

Global variables are set for each environment such as App, Sandbox, Prod, etc. For example, when integrating with external APIs, the API URL needs to be registered and managed according to each environment. In the development environment, the API should connect to the development environment address of the external API, while in the production environment, it should connect to the production environment address of the external API. Using environment variables in this case allows the API to be connected to the appropriate address according to each environment.

Image

  • How to create
  1. In the Object Explorer, click the System Admin > Environment menu.

  2. Click on New in the Code List window to input the code that will be used as an environment variable.

  3. The code being set should be unique and registered as a code that is easy to understand its meaning.

  4. Select the created code in the Code List and click on New in the Value List on the right.

  5. Choose the environment where the code will be applied, input the value (such as URL) that should be applied in each environment, and then save it.
    This can be applied to the four environments provided by CALS.

    Image

    INFO

    When using the configured Environment Code, you use the Code value directly. For example, if the Value of the Code is registered as GMSComDB, you can use it in Control's Attribute, etc., as @{ENV.GMSComDB}.