Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
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 |
---|
如果您正在使用MySQL,则只需要执行此操作,因为其他数据库已经默认为“READ-COMMITTED”。 在MySQL中运行以下SQL。 |
Note |
You will only need to do this if you are using MySQL, as other databases already default to "READ-COMMITTED". Run 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.ini文件中设置以下内容。 |
Figure 1: Screenshot highlighting ID Reference Field in sample HR Expenses Claim app
图1:突出显示示例HR费用声明应用程序中ID参考字段的屏幕截图
本文中的屏幕截图从 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
图2:ID生成器字段属性
名称 | 描述 | ||||||
---|---|---|---|---|---|---|---|
ID | 元素ID(通过声明为“ref”,将创建相应的数据库表列“c_ref”) | ||||||
Name | Description | ||||||
ID | Element ID (By declaring as "ref", a corresponding database table column "c_ref" will be created)
| ||||||
LabelElement Label to be displayed to 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确定生成值的模式(例如,“REF - ?????" will yield "REF-00001")”将产生“REF-00001”) |
Figure 3: ID Generator Field Properties - Advanced Options
图3:ID生成器字段属性 - 高级选项
名称 | 描述 | Name | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
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.如果表单是工作流程的一部分,则在保存表单时(单击“另存为草稿”或“完成”按钮)。此输入字段中的值将被保存到相应的工作流程变量中。
|