Small Business
25 Benutzer & 25 GB Speicherplatz
(Monatsabonnement 110 €)
Previous Tutorial: Creating an app
Next Tutorial: Building record pages
Every application in Corteza can have an unlimited number of data modules. Data modules are referred to simply as “Modules” on the platform. In practice, this is how Corteza creates database tables and the field names and associated data types to be inserted into those database tables.
To start, click on “Create Module”.
This brings you to the “Edit Module” page.
Input a new Module name, for example, “Catalog”, and a new Handle, for example, “catalog”.
Also, change the first record field in the “Manage record fields” section to the Name of “documentname” (Field names can consist of a-z/A-Z, 0-9 and underscore character with no spaces) and the Title to “Document Name”. Leave the data type as “Text Input (String)” and tick the “Required” box on the right of the field.
Add a new field by clicking on “+Add new field”, giving the field Name of “department” and new field Title of “Department”. From the “Type” column select the field Type of “Select/dropdown”.
Clicking on the Wrench icon beside the field Type (the little wrench is beside all field Types) displays the following screen.
Click on “Select/dropdown” tab in order to start adding values.
Add in three values and their labels, being sure to click the “+Add” button after each value/label pair. Then hit “Save and close”.
Value | Label |
finance | Finance |
marketing | Marketing |
sales | Sales |
Add a new field (“+Add new field”) with the field Name “contents”, the field Title “Contents” and the field Type of “Text input (string)”.
Click on the Wrench icon. Go to the “Text input (string)” tab and tick the “Use Rich Text Editor” box. Then hit “Save and close”.
Add a new field with the field Name “relateddocuments” and the field Title “Related Documents”. Choose the field Type “Record selector”.
Click on the Wrench icon. In the “General” tab, tick the “Multi-value” box.
In the “Record selector” tab, select Catalog” from “Module name” line, followed by “Document Name” from the “Record label from field” line. Then hit “Save and close”.
On the bottom left of the “Edit Module” page, click “Save” (do not click “Save and close” yet). On the top right of the “Edit Module” page, click “Create record page”. The web page will automatically build for you with a single block.
You have now created your first Corteza data module! More detailed information on the rules for creating Modules can be found in our documentation.
See for yourself how easy it is to build apps on Corteza.
Try Corteza online or install on your own server – both for free.