Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Within a Repeating Layout, Filter the Results Shown

Updated on May 3, 2020

Summary

Using conditional statements, you can filter the results displayed in a repeating layout.

Start

 

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.

 

Suggested Approach

Note: The repeating layout must be defined in a Section rule.

To filter the results of a repeating layout:

  1. 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:
    when
  2. On the Repeating Layout Properties Panel, navigate to the Body tab. Locate the Visible When field.
    Properties Panel
    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.
  3. The result is a list that has been filtered using the criteria defined in the When rule.
    End
    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.
    Clipboard

 

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us