Overview
In this section, you can see various options while creation model for record types let’s understand each:
...
Record Type Model solely focuses on storing and managing data from Salesforce objects. Basically, it handles data retrieval and storage for objects.
The model further can be bound to various components like Form, Table, or Repeater, allowing efficient data display and interaction across different layouts.
...
Let’s explore the screens that follow, after clicking on Model Creation
+
button.
Info |
---|
Reference: How to create a Record Type Model? |
Details
...
Attributes | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Type | Specify Allows to specify the type of model, such as:
| |||||||||||
Object | Specify the object for which you want to create the model and display data. | |||||||||||
Label | Assign a unique name to the model. | |||||||||||
Name | Provide unique API name for the model Note: By default, | |||||||||||
Connection | Provides the ability to select records from various connected CRMs with an object structure similar to Salesforce. This feature enables seamless data integration by specifying the desired CRM connection. Note: Currently, noKodr supports Connection only for | |||||||||||
Record Count | Select the record count type for the model:
Note: By default, Record count is set as | |||||||||||
Object |
| Limit | Define
Note: By default, radio button is set as | |||||||||
Label | Allows to specify the name of the model. | |||||||||||
Name | Allows to provide unique API name for the model. | |||||||||||
Offset | Allows to specify desired records from bunch of records.
| |||||||||||
Limit | Allows to define the maximum number of records to retrieve from the selected object. | |||||||||||
Order By | Choose Allows to choose the field by which to sort the records retrieved from the selected object.
| |||||||||||
Do Not Auto Query | If checked, the model will not automatically query or retrieve data from the selected object. |
Order By
In Salesforce, there’s no guarantee of the order of results unless you use an Order By
clause in a query. Thus, we need to specify Order By
to have specific records under consideration.
...
Specifies whether the results are ordered in ascending (ASC) or descending (DESC) order. Default order is ascending.
...
Order By Attribute | Description |
---|---|
Field Name | Allows to specify field name which determines the sorting order of the query results. |
Sort As | Allows to specify whether the results are ordered in Ascending or Descending order. Note: By default, |
Fields
In this section, you can view the fields for your selected object. You can select and add these fields for use in various areas, such as in:
...
Note: If you use any model fields in the components mentioned above, in workflow actions, or in criteria such as conditional visibility, disability & read-only settings, or required fields, ensure that the field is added to the highlighted selection panel below.
...
UI Fields
...
In this section, whenever you want to display a value in a field based on certain values entered in other fields, and you desire to exhibit this on the UI in real-time without saving the record in objects, UI Fields helps you with achieving the requirement.
...
Attribute | Description | ||
---|---|---|---|
Field | This option allows you to select a field from a model based on the chosen object, helping you to define criteria using model fields. | ||
Operators | The available operators will depend on the type of field selected, allowing you to set the criteria accordingly.
| ||
Source Type | You can choose from several options to compare values with the selected field. The available options include:
|
Filters Attributes
...
...
Filter Operators
Operator | Supported Field Types | Description |
---|---|---|
Equal | Number, Currency, Date, Text, Boolean, Picklist | The equal operator is used to compare two values or expressions. It is used to compare numbers, strings, Boolean values, variables, objects, etc. The result is TRUE if the expressions are equal otherwise it’s FALSE |
Contains | Text, Picklist | The contains operator returns TRUE if the value on the left contains the value on the right, and otherwise FALSE |
Starts With | Text, Picklist | It returns TRUE if a string or number starts with the specified character otherwise it returns FALSE. |
Ends With | Text, Picklist | It returns TRUE if a string or number ends with the specified character otherwise it returns FALSE |
In | Text, Picklist | IN operator allows you to easily test if the expression matches any value in the list of values. Determines whether the value of an expression is equal to any of several values in a specified list. |
...