Models are used to display content in the layout
Typically used for record creation or editing, as well as various types of messaging
A Model needs to be added when you perform any action in an event
There are 2 types of Model
Single Record Model:
The single record model is generally used when only a single record needs to be displayed at a time
MultiRecord Multirecord Model:
The multi-record model is used when multiple records need to be displayed at a time
Model Creation
Create a MultiRecord Multirecord model
Go to the Modeltab
Click on the + icon
Enter information, click Save
...
Label: Label is used to identify the model at the UI
Name: Name is the unique identifier of the model
Type: Type: Display the model's type
There are five types that are Record, API, Aggregate , and Item
Select the type from the dropdown menu
Record Count: Record count indicate which record should be created
There are two types of records, Single record , and Multirecord
Select the record count from the dropdown menu
Is Shared?:
Object Def: You can bind the object with the model
The complete list of objects in your instance is displayed
Select the object from the dropdown menu
Offset: You can set the offset for the query on the object. If the offset is ānā then the query will take the records ān+1ā onwards
e.g. Set Offset: 0, then the query will take the record 1 onwards
Limit: Set the limit for how many records you want to display at a time
Order By: You can set the order by on the fields to records to be queried and displayed in the Model
Click on the + icon
Fill in the information, click Save
...