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.

How to increase the number of assignments displayed on a worklist

Updated on September 25, 2019

Question

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?

 

Answer

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.

 

Details

  1. Find the HTML Data-Gadget WorklistExpandContract and its call to the activity ShowWorkView, which displays the list view:

HTML Data-Gadget WorkListExpandContract calls activity ShowWorkView

  1. Find and open the Activity Data-Gadget ShowWorkView to see Step 2, where the ViewMaxRecords parameter is set to 10.
  1. Save a copy of the Activity Data-Gadget ShowWorkView into your application RuleSet.
  2. Expand the Property-Set method in Step 2 and change the value of Param.ViewMaxRecords to the required value, for example, to 20:

ViewMaxRecords modified setting

 

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