application background:ccform Form Design is a top-down design, that is, the existing form has a data table, that is, when the form is designed ccform automatically created the field, if the form's table has the field is not created. But a lot of programmers are used to creating tables, and then creating forms, that is, when designing a form, the system already has the table, and it is necessary to use the existing table structure as a template for the form to import.
Explanation: Imports field information from the specified data source, specifying the table.
Purpose: before creating a new form, the form already has a prototype, or there is already a table, to create a form with the original data table structure as a template. For example, we want to do a personnel onboarding process, before implementation, the basic information of the personnel is already in a table, in order to facilitate the rapid and accurate completion of the form design, you can import the field information from the existing staff table.
Pre-Import Preparation:
If you confirm that you want to use the original table as the datasheet for the form, then match the table with that table. To write the Chinese description of each field clearly, the system will generate the field description label according to this description.
To perform an import step: tap into the Import Data Table Field Wizard and proceed to the next step.
Select a data source:
In, you can create a data source to import fields from another database, where you import the data table structure from this database.
Click Next to enter the attribute field editing interface, such as .
If a field is an enumeration or a foreign key, you can double-click the bound Value text box on the field to eject the foreign key or enumerate to make it selectable.
Clicking the "Import fields, Generate Form" button appears as follows to add the following fields to the last side of the form.
If you are interested in ccbpm, please follow us:
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Open Source Gallop Workflow Ccflow example of generating a form by importing internal data