Skip to main content
LinkedIn
Copied!

Table of Contents

Custom lists of recent items

The out-of-the-box list of recent items is a read-only rule that you cannot modify. However, if you want to adjust the list to your business needs by changing its content, style, or the items that it displays, you can save the default section in your application ruleset and make your customizations there.

The out-of-the-box recent items list consists of the following section rules:

pxRecent
Displays the recent items list. Contains the pxRecentGrid table and the pxRecentGrid section.
pxRecentGrid
Defines the look of the recent items list. Contains the pxRecentLabel section. The pxRecentGrid rule uses a regular, non-optimized table as the layout.

For more information about table configuration, see Creating a table layout without code optimization.

pxRecentLabel
Contains the label for the pxRecentGrid table layout.

You can copy any of the recent items sections into your ruleset, customize the section according to your business needs, and then substitute the default section for the custom section. You can use any combination of out-of-the-box and customized sections to embed the recent items list in your application.

For more information about using existing sections, see Creating an embedded section.

For more information about saving rules to your ruleset, see Copying a rule or data instance.

You can create a copy of the pxRecentLabel rule and name that copy customLabel. You style the customLabel section, and then, in the pxRecentGrid section, you remove and substitute the reference to pxRecentLabel with customLabel. In this way, your out-of-the-box recent list item references a custom label, but remains otherwise unchanged, as shown in the following figure.
Substituting an out-of-the-box section
Cell properties windows for the section that holds the label for the recent
                        items list. The source is set to customLabel.
Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us