Skip to main content

Configuration

Click on Settings > Configuration to access the configuration feature. This is where you will manage and configure the variables of your app. The Configuration feature provides you with the flexibility to avoid hardcoding the values in your app.

Configuration

Apps List

The configuration screen displays a list of apps available for configuration. Anytime you create an application with configuration in A8Studio and deploy, it will be shown here.

Configuration

Configuration Setup

Variable Definition

When creating an app in A8Studio, users can define variables along with default values. These variables serve as keys for the configuration feature.

In A8Studio, you will create the list of configurations, and once the app is deployed, here's where you will provide the values.

For Example

Key (Variable): apiUrl
Default Value: "the URL"

Special Properties

Additional configuration properties that must be setup within A8Studio:

Hidden Value

  • Represented by the "Eye Icon."
  • This property signifies that the value associated with the variable is hidden.

Mandatory Variable:

  • Represented by a "*".
  • This denotes that the variable is mandatory for the proper functioning of the app.

Editing the Configured Values

To modify the value associated with a variable, click on the EDIT button corresponding to it.

Accessing Configuration Values

In A8Studio forms or functions, users can get the configured values using:

a8config.getconfig("apiUrl")
// Replace "apiUrl" with the desired variable name.