Create a new collection field
Welcome to the "Create a New Collection Field" page! This page is your gateway to expanding the functionality and versatility of your collection by adding new fields.
Last updated
Welcome to the "Create a New Collection Field" page! This page is your gateway to expanding the functionality and versatility of your collection by adding new fields.
Last updated
To describe your schema add some new fields. For this example, add these fields:
Name – for saving the product name
Description – for saving a more detailed description of the product
User – for assigning a user to be an owner of the product
In the very first input box enter Field Name, and on the right end side, you can select the Data Type from the variety of field types.
Below that enter the Display name and Description of that field.
Below that, you have a variety of options to configure fields for the collection.
For instance, you can mark the Name field as required by checking the Required field checkbox.
Additionally, depending on the Data Type selected, you will have access to several other field-specific configuration options.
Click on the Create Field button to create the field.
In the Field Name text box type "Description".
Select the Data Type as "String".
Enter the Display Name and Description of the fields.
Click Create Field button.
In the Field Name text box type "User".
Select the Data Type as "Reference".
Enter the Display Name and Description of the fields.
Check the Required Field checkbox.
On the Collection to Reference select "User".
Check the isAuthField checkbox to make the field for authentication purposes. (You can hover over any of the options on the field page to get the info about that option).
Click Create Field button.