All Products
Search
Document Center

Quick BI:Create a Form

Last Updated:Dec 11, 2024

You can use the forms feature of Quick BI to create a table for a data source and insert data to the table. This topic describes how to create a form. Only Quick BI Advanced Edition and Professional Edition group spaces allow you to create a form.

Prerequisites

  • A MySQL database is created. The Alibaba Cloud account that is used to access the data source of Quick BI must have permissions on the tables in the MySQL database. The MySQL database is used as the data source of Quick BI. The account must have the CREATE, INSERT, UPDATE, and DELETE permissions on the database.

  • A data source is connected. For more information, see User-created data source MySQL.

Limits

Only MySQL, SQL Server, AnalyticDB for MySQL 3.0, PolarDB for MySQL, Oracle, PostgreSQL, Dameng, and Hologres databases are supported. The account that is used to connect to the data source has the permissions to manage tables in the databases. That is, you must have the create, insert, update, and delete permissions on the database.

Note

Hologres data sources do not support the Delete Column operation by default. Upgrade to the V2.0 version and change the related database system parameters:

  1. Run the alter database database database name set hg_experimental_enable_drop_column=on command on the corresponding database instance to set the GUC parameters at the database level. After the execution is complete, the GUC parameters take effect at the database level.

  2. After the configuration is complete, the current connection must be disconnected again for the configuration to take effect. The modification does not automatically apply to a new database. You must manually configure the GUC parameter for the new database.

For more information, see GUC parameters.

Go to the forms page

Log on to the Quick BI console and use one of the following methods to go to the Forms page.

  • Method 1: Create a form in the left-side navigation pane of the Workbench tab in a workspace

    image

  • Method 2: Create a form on the Forms page in a workspace

    image

Create a form

  1. Go to the forms page.

  2. On the Form tab, find the widget in the widget libraries and configure the widget based on your business requirements.

    image

    You can perform the operations in the following figure to add controls.

    111

  3. In the upper-right corner of the form edit page, click Save.

  4. In the Save Settings dialog box, configure the parameters and click OK.

    image.png

    Note
    • If you configure the parameters in the Save Settings dialog box, the configuration result is the same as the result of using Quick BI to create a table in a database. The value specified by the Physical Form Name parameter cannot be the same as the table name in the source database.

    • The values of the Physical Form Name and Field Name parameters can contain only lowercase letters, digits, and underscores (_). The values must start and end with lowercase letters or digits.

    In this case, you can view the added data in the data form list.

    image.png

    You can also view the created form in the database to which data is written.

Mobile data forms

  1. Prerequisites: You have created a form on the Create Form page.

  2. On the top page, you can switch between the PC and mobile terminals. You can switch to the mobile terminal to edit the page.

    After the form is saved, the QR code is displayed on the left side of the page in the editing state. You can scan the QR code to view the latest saved form. This ensures that the form can be filled as expected.

    image.png

  3. On the Fill In page, fill in the form information and click Submit in the lower part of the page. After the form is submitted, you are remitted to the homepage of the personal form. You can Continue to Submit and View Records. Untitled.gif

  4. View History. On the page that appears, click Submit Records in the upper-right corner. Untitled.gif

  5. Click the funnel in the upper-right corner of the Filling Records page. The Filter List page appears. You can filter form information. 筛选

  6. Click the Edit icon in the Actions column on the right side of the Filling Records page to modify the filling records. Untitled.gif