Skip to content

Open Create Related List Record Page

Feature Description

Open the record creation page. After successful creation, the record will be added to the Related List field.

Parameter Settings

Configuration ItemDescription
Data TableThe data table type of the record
Main Table Record IDThe record ID of the main table in the related list
Related List FieldThe Related List field that stores the list data
Field Default ValueThe default value of fields in the opened form page
Hide FieldsHide specific fields on the form page

Example

In the related list field of the data table form page, if we need a create button that pops up a creation dialog when clicked and adds the created record to the related list, we can add a button with an execution action of Open Create Related List Record Page. As shown in the figure below, in the work task module, the participating groups are a related list field, and the related table of this field is group information. Click the create button in the toolbar of this table, and the creation page of the group information module will appear. After completing the creation, the created data will be added to the participating groups.

To configure the above create button, you need to add a create button in the form page toolbar of the participating groups field. Select Open Create Related List Record Page as the execution action for the configuration item. Select the current module for the Data Table of the configuration item, which is "Work Task" in this case.

Select the related list type field in the data table where records need to be created and added to the association for the Related List Field of the configuration item, which is the "Participating Groups" field in this case. Enter the main table record ID of the created record for the Main Table Record ID of the configuration item, which can be obtained through an expression. Set the default value of the fields for the record created this time for the Field Default Value of the configuration item. Set the fields that we want to hide in the create data page opened through the current control for the Hide Fields of the configuration item. The configuration content of this case is as follows.