Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

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

  3. Type: The type field indicates the type of model you createType: Display the model's type

    1. There are five types that are Record, API, Aggregate, and Item

    2. Select the type from the dropdown menu

  4. Record Count: Record count indicate which record should be created

    1. There are two types of records, Single record, and Multirecord

    2. Select the record count from the dropdown menu

  5. Is Shared?:

  6. Object Def: You can link bind the object with the model

    1. The complete list of objects in your instance is displayed

    2. Select the object from the dropdown menu

  7. 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

    1. e.g. Set Offset: 0, then the query will take the record 1 onwards

  8. Limit: Set the limit for how many records you want to display at a time

  9. Order By: You can set the order by on the fields to records to be queried and displayed in the Model

    1. Click on the + icon

    2. Fill in the information, click Save

...

  1. Field Source:

    1. Select the field source from the dropdown menu

      1. Field: The object that adds to the model, those fields are displayed in the field attribute

        1. Select the fields from the dropdown menu

      2. Variable: Variables are containers for storing data values in PWR Apps

        1. There are different types of variables such as Integer, Double, Date, Time, etc

        2. Select the variable from the dropdown menu

      3. Model: The model you created will be displayed

        1. Select the model from the dropdown menu

      4. Static: You can enter any (hardcoded) value

        1. e.g. Static: Test

      5. Cookie: A cookie is a piece of data, that is stored within a web browser

        1. If you have stored some value in cookies like sid, so you can get it from cookies

          1. e.g. Cookie: Name - Record, Value - 12345

      6. LocalStorage: Local storage is a piece of data, that is stored within a web browser

        1. If you have stored some value in local storage like data, so you can get it from storage

          1. e. g. LocalStorage: Key - collapsedid_16599648011147719 isAdmin, Value - true

      7. QueryParam: Query parameters are a defined set of parameters attached to the end of a URL

        1. e.g. QueryParam: www.test.com?Name

      8. User: The fields that are present in a user's profile that will be displayed

        1. Select the field from the dropdown menu such as First Name, Last Name, Name, Phone, Email, Is Active, Id, Session Id

  2. Merge Field Expression: A field is formed during the expression and many expressions are created by using a merge field

    1. An expression is added to the message body by clicking the + icon

      Image RemovedImage Added
  3. Message Body: In the merge, field expression will be displayed in the message body

...

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

  • There are multiple source types available

    • Static: You can enter any (hardcoded) value

    • Input:

    • Variable: Variables are containers for storing data values in PWR Apps

      • Click + icon

      • Create Variable, click Save

        • Label: To display as a label for the field

        • Name: To uniquely identify the field within the form

        • Field Type: You can select the field type from the dropdown

          • Field: Text, Checkbox, Integer, Double, etc

        • Required: If this checkbox is checked, the field is required

        • Is Array: If this checkbox is checked, the field is stored in the array

        • Default Value: You can set a default value for the variable

        • Variable Scope: A variable's scope determines where in a form a variable is available for use

          • The variable scope comes in 3 types

            • In:

            • Out:

            • In/Out:

              Image Modified
    • Cookie:

    • Context:

  • Create Criteria

    • Click on the + icon

    • Add Criteria, click Save

...