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
...
borderColor | green |
---|---|
borderWidth | 1 |
titleBGColor | #ddffcc |
borderStyle | solid |
title | Definition |
The ID Generator Field is used to produce a running number based on an Environment variable. To learn more about its usage, refer to Generate Reference ID.
Note |
---|
You will only need to do this if you are using MySQL, as other databases already default to "READ-COMMITTED". Run the following queries in MySQL. SET GLOBAL tx_isolation='READ-COMMITTED'; SET SESSION tx_isolation='READ-COMMITTED'; You will also need to set the following in your my.cnf/my.ini file. |
...
The easiest way to see how the ID Generator Field works are to use the existing built-in App Expenses Claims. Here are the steps:
Steps | Screens (Click to view) |
---|---|
| Figure 1 Figure 2 Figure 3 |
Figure 1: Screenshot highlighting ID Reference Field in sample HR Expenses Claim app
Screenshots in this article obtained from http://localhost:8080/jw/web/console/app/hr_expense/1/form/builder/hr_expense_new
Figure 2: ID Generator Field Properties
Name | Description | Screen (Click to view) |
---|
ID | Element ID (By declaring as "ref", a corresponding database table column "c_ref" will be created)
| ||||||
Label | Element Label to be displayed to the end-user. | ||||||
Environment Variable Name | Name of the environment variable to be used to keep the running number. | ||||||
Format | Determines the pattern of the generated value (e.g., "REF-?????" will yield "REF-00001") |
...
...
Name | Description | Screen (Click to view) | ||||||
---|---|---|---|---|---|---|---|---|
Hidden? | Determines if the element should be made visible in the form. | |||||||
Workflow Variable | If the form is part of a workflow process, upon saving of the form (by clicking on "Save as Draft" or "Complete" button). The value in this input field will be saved into the corresponding workflow variable named here.
|