To change the information that is displayed on the list of recent items at run time, for example, to add new fields, create a copy of the label section, pxRecentLabel, and modify it.
For example, you might want to display both the claimant's name and the claim number in the recent items list. Or you might want to include the rule description, followed by a second line that contains the rule type and rule name, separated by a pipe character.
Before you can customize the data and label on the recent items list, complete the steps in Customizing the list of recent items in your application.
Save a copy of the pxRecentLabel section in your ruleset.
Enter pxRecentLabel in the Dev Studio Search bar, and then press Enter.
In the Search results, select the pxRecentLabel section.
In the pxRecentLabel section, click Save as.
Enter a label for the new section.
Enter @baseclass in the Apply to field. The Applies To class has to be the same as the class of the data page that is used as a data source in the pxRecentGrid section.
Specify the ruleset into which you want to save the section.
Click Create and open.
Modify the section as needed.
Replace the original pxRecentLabel section in your copy of pxRecentGrid section.
Open your copy of the pxRecentGrid section.
In your section that displays the recent items list, click the View properties icon of the cell in the section to open the Cell Properties panel.
On the General tab, click the Open icon next to the section name to open your copy of pxRecent section.
In your copy of the pxRecent section, click the Gear icon in the Section include header of your copy of pxRecentGrid section to open the Layout Properties panel.
On the General tab, click the Open icon next to the section name to open your copy of pxRecentGrid section.
In the copy of pxRecentGrid section, in the Declare_pxRecents data page results list of the Table layout, click the Gear icon next to the cell in the last row to open the Cell Properties panel.
In the Section field on the General tab, enter the name of your copy of the pxRecentLabel section.
Click Submit, and then click Save.
As a best practice, copy and modify the pxRecentLabel section to customize what information is displayed on the recent items list. However, if you want to include a new variable in the recent items list, you can modify the pyAddRecentListItem data transform, which is in the Work- and Rule- classes.