Wiki源代码5.09.03 Data Deduplication
由 家乐 黎 于 2025/03/19 03:04 最后修改
显示最后作者
| author | version | line-number | content |
|---|---|---|---|
| 1 | === 1、**Function Overview** === | ||
| 2 | |||
| 3 | Custom data deduplication check will be performed upon form submission. | ||
| 4 | |||
| 5 | |||
| 6 | === 2、**Use Cases** === | ||
| 7 | |||
| 8 | For instance, when adding new materials, the material name must be unique and cannot be duplicated. | ||
| 9 | |||
| 10 | ==== ==== | ||
| 11 | |||
| 12 | === 3、**Setting Approach** === | ||
| 13 | |||
| 14 | [[image:1742351188619-868.png]] | ||
| 15 | |||
| 16 | |||
| 17 | |||
| 18 | 1. The duplicate removal field starts with no fields, meaning that if there are no designated fields for duplicate removal, the current form does not perform any duplicate check. | ||
| 19 | 1. It supports selecting business fields from the main table of the current form (i.e., fields generated by user-dragged controls onto the page). Fields from tables or referenced forms cannot be selected. | ||
| 20 | 1. It supports the selection of multiple fields for duplicate removal. | ||
| 21 | 1. The allowed field types for selection include: single-line input, numeric, dropdown selection, radio button, date, time range, toggle switch, calculated formula, personnel, department, region, and data association. | ||
| 22 | 1. When multiple fields are selected for duplicate removal, it checks whether the concatenated result of multiple single-line input control values is duplicated. For example, both Single Line Input A and Single Line Input B have data duplication removal enabled as shown in the figure below: | ||
| 23 | |||
| 24 | === Explanation: === | ||
| 25 | |||
| 26 | * ((( | ||
| 27 | **Existing Data**: | ||
| 28 | |||
| 29 | * Single Line Input A: A1, A2, A3 | ||
| 30 | * Single Line Input B: B1, B2, B3 | ||
| 31 | * Concatenation Result: A1B1, A2B2, A3B3 | ||
| 32 | ))) | ||
| 33 | * ((( | ||
| 34 | **New Data**: | ||
| 35 | |||
| 36 | * Single Line Input A: A1, A1, A2 | ||
| 37 | * Single Line Input B: B2, B1, B1 | ||
| 38 | * Concatenation Result: A1B2, A1B1, A2B1 | ||
| 39 | * Is Duplicated: No, Yes, No | ||
| 40 | ))) | ||
| 41 | |||
| 42 | (% contenteditable="false" style="background-image:url(http://192.168.102.35:8080/webjars/wiki%3Axwiki/xwiki-platform-ckeditor-webjar/16.8.0/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="拖曳以移動" width="15"]] |