In this step, you will begin creating views for a reporting form. The form has three views: two list views and an item view. The item view contains reporting controls that you will add and configure from the Toolbox. You will add two instances of the list view to your form. You will configure rules so that one list view displays items pending approval and the other displays items pending finance processing. Ultimately, you will have a "dashboard" style reporting form from which you can view expense claim instance details.
Field | Value |
---|---|
Name | Expense Claim List |
Description | Read-only list of expense claims. |
Category | (leave default value unchanged) |
View Type | List View |
Data Source | Expense Claim SmartObject |
List Method | Get List Items |
Call this method when the form loads | Not checked |
Field | Value | Notes |
---|---|---|
Name | Expense Claim List | |
Description | Read-only list of expense claims. | |
Category | (leave default value unchanged) | |
View Type | List View | List views show lists of items as opposed to a single item. |
Data Source | The Expense Claim SmartObject should already be selected, but if it is not, use the ellipses to locate and select theExpense ClaimSmartObject. | This is the SmartObject that you want to display on the list view. |
List Method | Get List Items | This is the default method used to populate the list. |
Call this method when the form loads | Not checked | You do not want the list view to populate automatically whenever it loads. Instead, you will define rules to populate the list with specific records. |
In this step, you created a read-only list view for expense claims. You will add two instances of this view to your reporting form. One view displays expense claims waiting for approval, while the other displays expense claim waiting for finance processing. You will configure the rules for the two list views at the form level. In the next step, you will create a new item view, then add reporting controls from the Toolbox.