Within a Repeating Layout, Filter the Results Shown
Using conditional statements, you can filter the results displayed in a repeating layout.
For example, in a repeating layout which shows bank account information, the results can be filtered based on criteria such as account type or balance.
Note: The repeating layout must be defined in a Section rule.
To filter the results of a repeating layout:
- Create a When rule that will specify the criteria for the filter. This When rule needs to be created in the same class as the Page List or Page Group for which the Repeating Layout is defined. The When rule in this example is defined as follows:
- On the Repeating Layout Properties Panel, navigate to the Body tab. Locate the Visible When field.
Using the SmartPrompt, select the When rule you defined for the purpose of filtering the results. By default, PRPC will locate When rules within the context of the Page List or Page Group.
- The result is a list that has been filtered using the criteria defined in the When rule.
It is important to note, however, that all results in the Page List are processed and appear on the clipboard, and that only those meeting the When criteria are displayed.
Published December 21, 2007 — Updated September 26, 2008