Configure sections(配置分区(Sections))¶
The action form can be customized with sections. These sections provide a logical grouping of parameters to organize an action form. Sections also support columns, descriptions, and conditional overrides.

Adding a section to an action form¶
In the Form tab, click Add section. This will open a detailed section configuration modal where you can add a title, choose a column layout, and optionally write a user-facing description. The description is not stylized and, unlike parameter descriptions, will always be shown in the section itself, not in a tooltip.
You can organize parameters in columns to make better use of the space within a form or to group related parameters closer together. A section can be divided into one or two columns. Separate columns are especially useful when you use parameters that don’t require a lot of space within the form.

Sections are also collapsible, can be hidden entirely, and can make use of conditional overrides, giving you more ways to customize the form behavior. All of the features will also apply to the parameters inside of the section. Using these features in combination allow for smarter forms which present required parameters under the appropriate circumstances. A section can be hidden at first and only shown based on a prior parameter.
Adding parameters to a section¶
There are two ways to add a parameter to a section: from within the section configuration view, or from within the Form tab.
In the section configuration view, click Add new parameter. From here, configure the newly added parameter inside the section. Alternatively, click Add existing parameter to move an existing parameter into the section.
The Form tab lists the sections with their parameters in a single overview. Click the eight dots on the left hand side of the parameter and drag it into an existing section. Parameters and sections display in the form based on their order in this Form Content section.
中文翻译¶
配置分区(Sections)¶
操作表单可通过分区(Sections)进行自定义。这些分区为参数提供逻辑分组,从而组织操作表单的结构。分区还支持列布局、描述说明和条件覆盖。

向操作表单添加分区¶
在"表单(Form)"选项卡中,点击添加分区(Add section)。这将打开一个详细的分区配置弹窗,您可以在其中添加标题、选择列布局,并可选地编写面向用户的描述说明。描述说明不会进行样式化处理,与参数描述不同,它将始终显示在分区本身中,而非工具提示内。
您可以将参数组织到列中,以更好地利用表单空间,或将相关参数分组排列。一个分区可划分为一列或两列。当使用不需要占用太多表单空间的参数时,分列布局尤为实用。

分区还支持折叠、完全隐藏,并可利用条件覆盖功能,为您提供更多自定义表单行为的方式。所有这些功能同样适用于分区内的参数。组合使用这些功能可以创建更智能的表单,在适当情况下展示必要参数。例如,分区可以初始隐藏,仅当满足前置参数条件时才显示。
向分区添加参数¶
向分区添加参数有两种方式:通过分区配置视图,或通过"表单(Form)"选项卡。
在分区配置视图中,点击添加新参数(Add new parameter)。在此处,您可以在分区内配置新添加的参数。或者,点击添加现有参数(Add existing parameter)将现有参数移入分区。
"表单(Form)"选项卡以单一概览形式列出各分区及其参数。点击参数左侧的八点图标,将其拖拽至现有分区中。参数和分区将根据它们在"表单内容(Form Content)"部分中的排列顺序显示在表单中。