Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 15 Next »

  • 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 Model:

      • The multi-record model is used when multiple records need to be displayed at a time

Model Creation

  • Create a MultiRecord model

    • Go to the Model tab

    • Click on the + icon

    • Enter information, click Save

  • Click Details tab

  1. Label: Label is used to identify the model at the UI

  2. Name: Name is the unique identifier of the instance

  3. Type: From the dropdown, select the type i.e. Record, API, Aggregate, and Item

  4. Record Count: From the dropdown, select the record type i.e Singlerecord and Multirecord

  5. Is Shared?:

  6. Object Def: From the dropdown, select the object that you want to bind the model to

  7. Offset:

  8. Limit: How many records do you want to display at a time

  9. Order By:

    1. Click on the + icon

    2. Fill in the information, click Save

  1. Field name: Select the field name from the dropdown

  2. Sort As: From the dropdown, select the option Ascending or Descending

  • Click Fields tab

    • Select the field. These fields are added to the selected fields

    • These selected fields are added to the model

  • Click the UI Fields tab

    • Click New button

      • Enter Label & Name, click on the Config icon

      • Enter information, click Save

  1. Field Source: Select the field source from the dropdown

    1. Field:

    2. Variable:

    3. Model:

    4. Static:

    5. Cookie:

    6. LocalStorage:

    7. QueryParam:

    8. User:

  2. Merge Field Expression:

  3. Message Body:

  • Return to the layout page

Model Addition

  • Select a Multi Record Model

    • In the basic config, Click + icon

    • Add the Model and click Save

  • For a single record model, the same procedure is used

Context Models

  • A Context model is created by using a multi-record model

  • It acts as a single record model

Models Creation

  • Click on the + icon

  • Create Models and click Save

Criteria

  • Criteria determine the conditions under which the criteria apply

  • When the given criteria in the form are completed, then the criteria are fired

  • Using source types, you can add criteria in the form

Source Type

  • On which destination do you won't compare your criteria

  • There are multiple source types available

    • Static:

    • Input:

    • Variable:

      • Click + icon

      • Create Variable, click Save

    • Cookie:

    • Context:

  • Create Criteria

    • Click on the + icon

    • Add Criteria, click Save

  • No labels