Properties are the attributes ascribed to a model and are assigned a data type. This defines the property information - data - in terms of, for example, a number, text (string) or price type. Each new model created automatically contains the properties:
The Id property uniquely identifies every object in a model.
As shown in the following, the model User (A) is opened from the Data models quick menu.
The details for the model are displayed (B). By default, the Properties tab (C) is opened and displays the list of properties in a model.
When you select a property, the details for the property are displayed in a separate pane. In the following example, the details for the E-mail address property (D) are shown.
As shown, properties contain details such as the Type assigned, the name and additional details such as database name. The Type assigned determines the values that can be applied to a property.
See below for more details about Type and associated fields.
If required, click on the image to expand in a new tab or window.
The property, Type, determines the field set associated with a property.
When you select the New property button, the New property pane is opened. Click on the menu button in the Type field to display the list of Types available. You can assign the relevant Type to the property. Once applied, you can specify settings based on the options (fieldset) available for that Type.
Where relevant, you can also apply specific details for a property such as validations. Validations can be used to apply rules when data is entered. For example, to require a user to enter their e-mail details when registering or to specify specific file types allowed when, for example, uploading an image file.
You can use the information provided at field level for guidance on the information required for fields assigned in a property.