logologo
Get Started
Guide
Development
Plugins
API
English
简体中文
Get Started
Guide
Development
Plugins
API
English
简体中文
logologo
Overview

Blocks

Overview

Data Blocks

Table
Form
Details
List
Grid Card
Chart

Filter Blocks

Form

Other Blocks

Action Panel
Iframe
Markdown
JS Block

Block Settings

Data Scope
Layout
Block Linkage Rules
Field Linkage Rules
Sorting Rules
Block Deletion
Block Title
Form Drafts

Fields

Overview

Generic Settings

Table Column
Detail Form Item
Filter Form Item
Form Item

Specific Settings

Date
File Manager
Sub-form
Select
Picker
Cascade Select
Sub-table
Sub-detail
Title
JS Field
JS Item
JS Column

Field Settings

Default Value
Field Label
Show Label
Field Tooltip
Data Scope
Field Component
Number Format
Pattern
Required
Title Field
Validation Rules
Association Field

Actions

Overview

Action Settings

Edit Button
Double Check
Assign Values
Bind Workflow
Edit Popup
Action Linkage Rules

Action Types

Add New
View
Delete
Edit
Import
Import Pro
Export
Export Pro
Export Attachments
Filter
Link
Pop-up
Refresh
Submit
Trigger Workflow
Update Record
Bulk Update
Add Child
JS Action
Action Permissions

Advanced

Linkage Rules
Event Flow
Variables
RunJS
UI Templates
Previous PageRunJS

#UI Templates

This feature is provided by the plugin «UI templates»

#Introduction

UI templates are used to reuse configurations in interface building, reducing repetitive setup and keeping multiple configurations in sync when needed.

Currently supported template types include:

  • Block Template: Reuse entire block configurations
  • Field Template: Reuse "fields" configurations in form/detail blocks
  • Popup Template: Reuse popup configurations triggered by actions/fields

#Core Concepts

#Reference and Duplicate

There are typically two ways to use templates:

  • Reference: Multiple places share the same template configuration; modifying the template or any reference point will sync updates to all other reference points.
  • Duplicate: Duplicate as an independent configuration; subsequent modifications do not affect each other.

#Save as Template

When a block/popup is already configured, you can use Save as template in its settings menu and choose the save method:

  • Convert current... to template: After saving, the current position will switch to referencing that template.
  • Duplicate current... as template: Only creates the template, the current position remains unchanged.

#Block Template

#Save Block as Template

  1. Open the settings menu of the target block, click Save as template
  2. Fill in Template name / Template description, and choose the save mode:
    • Convert current block to template: After saving, the current position will be replaced with a Block template block (i.e., referencing that template)
    • Duplicate current block as template: Only creates the template, the current block remains unchanged

save-as-template-block-20251228

save-as-template-block-full-20251228

#Use Block Template

  1. Add block → "Other blocks" → Block Template
  2. In the configuration, select:
    • Template: Choose a template
    • Mode: Reference or Duplicate

block-template-menu-20251228

select-block-template-20251228

#Convert Reference to Duplicate

When a block is referencing a template, you can use Convert reference to duplicate in the block settings menu to change the current block to a regular block (disconnect the reference), subsequent modifications will not affect each other.

convert-block-template-duplicate-20251228

#Notes

  • Duplicate mode will regenerate UIDs for the block and its child nodes, some configurations that depend on UIDs may need to be reconfigured.

#Field Template

Field templates are used to reuse field area configurations (field selection, layout, and field settings) in form blocks and detail blocks, avoiding repetitive field addition across multiple pages/blocks.

Field templates only affect the "field area" and do not replace the entire block. To reuse an entire block, please use Block Template described above.

#Use Field Template in Form/Detail Blocks

  1. Enter configuration mode, open the "Fields" menu in a form block or detail block
  2. Select Field Template
  3. Choose a template and select mode: Reference or Duplicate

field-template-menu-20251228

use-field-template-config-20251228

#Override Prompt

When fields already exist in the block, using Reference mode will usually prompt for confirmation (because referenced fields will replace the current field area).

#Convert Referenced Fields to Duplicate

When a block is referencing a field template, you can use Convert referenced fields to duplicate in the block settings menu to make the current field area an independent configuration (disconnect the reference), subsequent modifications will not affect each other.

convert-field-template-duplicate-20251228

#Notes

  • Field templates only apply to form blocks and detail blocks.
  • When the template and current block are bound to different data tables, the template will be shown as unavailable in the selector with the reason displayed.
  • If you want to make "personalized adjustments" to fields in the current block, it is recommended to use Duplicate mode directly, or first execute "Convert referenced fields to duplicate".

#Popup Template

Popup templates are used to reuse a set of popup interfaces and interaction logic. For general configurations like popup opening method and size, refer to Edit Popup.

#Save Popup as Template

  1. Open the settings menu of a button/field that can trigger a popup, click Save as template
  2. Fill in the template name/description and choose the save mode:
    • Convert current popup to template: After saving, the current popup will switch to referencing that template
    • Duplicate current popup as template: Only creates the template, the current popup remains unchanged

save-as-template-popup-20251228

#Use Template in Popup Configuration

  1. Open the popup configuration of the button/field
  2. Select a template in Popup template to reuse

edit-popup-select-20251228

#Usage Conditions (Template Availability Range)

Popup templates are related to the action scenario that triggers the popup. The selector will automatically filter/disable incompatible templates based on the current scenario (with reasons displayed when conditions are not met).

Current Action TypeAvailable Popup Templates
Collection ActionPopup templates created by Collection actions of the same Collection
Non-association Record ActionPopup templates created by Collection actions or non-association Record actions of the same Collection
Association Record ActionPopup templates created by Collection actions or non-association Record actions of the same Collection; or popup templates created by association Record actions of the same association field

#Association Data Popups

Popups triggered by association data (association fields) have special matching rules:

#Strict Matching for Association Popup Templates

When a popup template is created from an Association Record action (the template has an associationName), that template can only be used by actions/fields with the exact same association field.

For example, a popup template created on the Order.Customer association field can only be used by other Order.Customer association field actions. It cannot be used by the Order.Referrer association field (even if both target the same Customer data table).

This is because association popup templates' internal variables and configurations depend on the specific association relationship context.

#Association Actions Reusing Target Collection Templates

Association fields/actions can reuse non-association popup templates from the target data table (templates created by Collection actions or non-association Record actions), as long as the data table matches.

For example, the Order.Customer association field can use popup templates from the Customer data table. This approach is suitable for sharing the same popup configuration across multiple association fields (such as a unified customer details popup).

#Convert Reference to Duplicate

When a popup is referencing a template, you can use Convert reference to duplicate in the settings menu to make the current popup an independent configuration (disconnect the reference), subsequent modifications will not affect each other.

convert-popup-to-duplicate-20251228

#Template Management

In System settings → UI Templates, you can view and manage all templates:

  • Block Templates (v2): Manage block templates
  • Popup Templates (v2): Manage popup templates

Field templates originate from block templates and are managed within block templates.

block-template-list-20251228

Supported operations: View, Filter, Edit, Delete.

Note: If a template is currently being referenced, it cannot be directly deleted. Please first use Convert reference to duplicate at the positions referencing that template to disconnect the reference, then delete the template.