Customizing the Case type list in the Report Browser
You can customize the list of case types that are available for managers when they create reports in the Case Manager portal. When you customize the Case type list, the existing case types in the list are removed.
- Create a data transform with the name pyRBNewReportClasses in the Code-Pega-List class. For more information about creating a data transform, see Data Transforms.
- On the
- In the Page Name field, enter .pxResults().
- In the Class field, enter Rule-Obj-Class.
tab, do the following steps:
- To add a class option in the Case type list, in the first row of the tab, do the following steps:
- In the Action field, click .
- In the Target field, enter .pxResults(). In the parentheses, enter the index number that corresponds to the order in which the class appears in the Case type list. For example, if you want the class to appear first in the list, enter .pxResults(1) in the Target field.
- To specify the class that corresponds to the index indicated in the previous step, in the child row, do the following steps:
- In the Action field, click .
- In the Target field, enter .pyClassName.
- In the Source field, enter the literal name of the class.
- To specify the label of the class to be displayed in the Case type list, do the following steps:
- Click the icon to add another row.
- In the Action field, select .
- In the Target field, enter .pyLabel.
- In the Source field, enter the label of the class that you want to be displayed in quotation marks.
- For each subsequent class that you want to include, do the following steps:
- Right-click row 1 and select .
- In the new row, selectAction field. in the drop-down menu of the
- Repeat steps 3 through 5.
- To verify your changes, in the Case Manager portal, click to open the Report Browser.
- Click Case type list contains only the cases from the data transform that you created. . The
If the Case type list does not display your changes, clear the D_pzRBNewReportClasses data page, which populates the list of case types in the Report Browser.
- In Designer Studio, enter old:D_pzRBNewReportClasses in the search text field, and click the search result to open the Data Page rule form.
- In the Load Management tab, click .