How to increase the number of assignments displayed on a worklist
A developer asks: The standard WorkUser and WorkManager portals display worklists that show a maximum of 10 rows (assignments) . How can I increase the number of work objects listed by default to show more assignment and to decrease the white space that appears?
The HTML Data-Gadget WorklistExpandContract calls the activity ShowWorkView, which displays the list view. Step 2 of the activity ShowWorkView sets the ViewMaxRecords parameter with the default value of 10.
Save a copy of the activity ShowWorkView to your application RuleSet and change the value specified for the ViewMaxRecords parameter in Step 2 of the activity ShowWorkView.
- Find the HTML Data-Gadget WorklistExpandContract and its call to the activity ShowWorkView, which displays the list view:
- Find and open the Activity Data-Gadget ShowWorkView to see Step 2, where the ViewMaxRecords parameter is set to 10.
- Save a copy of the Activity Data-Gadget ShowWorkView into your application RuleSet.
- Expand the Property-Set method in Step 2 and change the value of Param.ViewMaxRecords to the required value, for example, to 20: