Extending complaint search parameters
You can extend the search for submitted complaints by adding more search parameters. For example, add the submitter's phone number as another search filter.
In the Dev Studio Explorer panel, click Data.
Click the Option Map data type.
On the Records tab, at the bottom of the list of records, click Add record.
Add a record with SearchCriteria in the Field name / Group field.
For example, add Phone number as a new search parameter.
Search for and open the SearchCriteria section of the PegaPS-Data-Complaint class.
Add the new search parameter to the section.
For more information about modifying sections, see Sections.
Create a when rule in the PegaPS-Work-Complaint class that verifies whether the new parameter is equal to the Param.SearchType value.
For example, Param.SearchType EQUALS "New search parameter".
For more information about creating when rules, see When condition rule - Completing the New or Save As form.
Create a report definition rule in the PegaPS-Work-Complaint class for the new parameter.
Use a report definition rule for an existing search parameter in that class as a model, for example, ComplaintsFilingPerson.
For more information about creating report definition rules, see Creating a report definition.
Search for and open the D_ComplaintDetails data page.
On the Definition tab, update the Data sources section with the new when rule and the new report definition rule.
For more information about modifying data pages, see Data page rules - Using the Definition tab.
Previous topic Adding properties to complaint forms Next topic Extending complaint review actions