Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Table of Contents |
---|
...
Info | ||
---|---|---|
| ||
Take note both App Variable and Environment Variable perform the same function |
English |
---|
App Variables are used to store commonly used parameters or settings in the application. Storing commonly used values in one place eases the migration and maintenance of the application developed. |
...
App variables can be retrieved by using the |
...
App Variable Hash Variable. One can make use of the |
...
App Variable to store commonly used values in places like Email Tool, |
...
SQL Query Tool, and so on. Doing so makes it easier to manage setting/configuration changes. |
Figure 1: Properties & Export
App Variables
Figure 1: Add Env App Variable
Name | Description |
---|---|
ID | Env App variable id. Only letters (a-z and A-Z), numbers (0-9) and underscore (_) are allowed in the ID field. ID cannot have space. Mandatory field. |
Remarks | Optional, typically used as remarks to Joget developers. |
Value | Environment App Variable value. Can be a number or a static value or a piece of software code (HTML, CSS, Javascript, Java, etc.). |
You can use Hash Variable to reference a value in Environment in App Variable.
When importing apps into a new Joget platform, for example from development to production server, do update all the environment values you may have defined; IP addresses, domain name, database connection strings values, etc.
However, if it is an existing app in a production server, do be careful not to change any environment App variable counters that are link linked to your form's "ID Generator Fields". This may affect the running numbers in the form's new records.
If you are using the ID the ID Generator Field as "id", meaning it is a primary key value, be careful not to override the environment App variable value when inporting importing apps: do not click the "Show Advanced Options > Override environment variablesShow Advanced Options > Override App Variables" checkbox in Import App screen.
...