Table of Contents

Article

How to increase the number of assignments displayed on a worklist

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

 

Published March 3, 2010 — Updated November 15, 2015


100% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.