Creating Dynamic Data

Creating Dynamic Data can be achieved in several ways, one of which is by using a form. In this example, we will demonstrate how to create a new employee form that will create the employee table, columns, and data record in the Dynamic Data database when the form is submitted.

Data provider, jig, component & action

  1. default.jigx is the database where the Dynamic Data table is defined.

  2. jig.default is the type of jig we will use to contain the form.

  3. form is the component used with text and date fields.

  4. submit-form is the action that executes the create method of the Dynamic Dataprovider

Examples and code snippets

Form creating Dynamic Data
Form creating Dynamic Data
Dynamic data database
Dynamic data database

Create the Dynamic Data table

In Jigx Builder under the databases folder in the default.jigx file the employee table is added. This will create the table in Dynamic Data.

Create the jig, form and action

The code example below is for the jig.default with the component.form that uses componet.text and component.date-picker to create the fields on the form. The action.submit-form executes the DATA_PROVIDER_DYNAMIC that uses the save/create method to create columns and data records.

View the Dynamic Data in Jigx Management

  1. Open Management, navigate to your solution (employees).

  2. Navigate to Data option

  3. Click on the employee table and view the data record you just created.

Last updated

Was this helpful?