Report Definition form
|
Information on this tab describes the basic content and layout of the report. Complete the Columns To Include section at the top of the tab to define the columns to include, and how to format and display their values, and the Rows To Include section to describe which class instances or records to include.
This tab can become wide if you include many columns on your report, since columns are displayed horizontally. To display more of the content, click the collapse arrow () in the portal to temporarily hide the navigation panel. When you finish working with this tab, click the expand arrow () to display the navigation panel again.
This section defines the columns in the report. Grouping and group order are determined automatically.
Field |
Description |
Column Name |
Choose a |
Column Heading |
Optional. Enter a column heading to be used for this column on the report. By default, the label defined for the selected property will appear as the Column Heading for the column. |
Column Width |
Optional. Enter the desired column width for the column as a percentage of the window's width or in pixels. Enter an integer followed by either |
Function |
Choose one of the built-in functions |
Format Values |
Optional. Select an HTML property to use in formatting the values for the column. Leave blank to use the HTML property rule associated with the property rule. |
Sort Type |
Optional. For each sorted column, choose one of the following:
|
Sort Order |
Optional. If you are sorting the values for more than one column on the report, enter a value for each sorted column which is an integer between 1 and the number of sorted columns. |
Display Values Across Columns |
Optional. If this option is checked, values for the column will be displayed horizontally. Each value for the column will appear as a column on the report. Displaying one or more columns horizontally lets you create cross-tab and pivot table reports. |
Hide |
Optional. If this option is checked, this column is not displayed on the report. This option lets you, for example, sort rows on a report based on a column that is not displayed. |
This section defines filter conditions, tests which determine which rows qualify to appear in the report display. If you leave this section empty, the report selects all instances of the Applies To class (or instances or records of whatever sources are indicated on the Data Access tab) up to the limit in the Maximum Number of Rows to Retrieve field on the Data Access tab.
Each row of this array identifies a selection condition. The order of rows in this array is not significant. Process Commander converts information in this array to an SQL WHERE
clause when retrieving data from the database.
If you define filter conditions in this section, you must enter a logical expression in the Conditions text box in the section header. Using the labels entered in the Conditions array, the logical expression defines how the system is to combine the conditions. The expression can include parentheses and the operators AND and OR. For example, if the table contains four rows labeled A, B, C, and D, you can enter an expression like (A
OR B
OR C
) AND D
in this text box. The notation is the same as for the logic statement in When condition rules.
You can specify only Single Value
properties in the Column field. Each property you identify for selection criteria must be exposed as a column in the database table.
Field |
Description |
Label |
Enter a letter or letters that uniquely identifies this row, to reference this row in the Logic field. These can be as simple as |
Column |
Enter a property reference for the conditions. The property referenced must be exposed as a database column in the Apple To class for the report value, or else be a fully qualified value to a clipboard page that is always present on the clipboard, such as the requestor page or process page.
If the Type of this property is If you enter .pxObjClass here and the Applies To key part of this report definition rule is a framework class, at runtime the report execution can use the corresponding implementation class, not the framework class, for comparisons and report content. This feature eliminates the need to copy each framework class-based report definition rule into the implementation class. To enable this capability, select the Report on Descendant Class Instances checkbox on this tab. |
Relationship |
Select a logical operator for the comparison condition, such as |
Value |
Enter one of the following options as a comparison value:
If the Relationship field is set to IS NULL or IS NOT NULL, leave this field blank. Commas correspond to an OR test: if the Value field contains two or more entries separated by commas, the comparison is true at runtime if the value of the Column field equals (or is greater than, or is contained in, and so on) any one of the entries. When the Value field contains a When evaluating either of the two Condition values For guided assistance in completing this field, click the magnifying glass icon (). A pop-up window appears with one or more of these tabs:
|
Prompt ModeGATZH added on 3/17/2010 |
Select a value to determine how a user of this report can modify the condition in this row when the report is run and displayed in the Report Viewer.
|
Use Null, If Empty? |
This box is important only when there is no value at runtime specified in the Value field. By default, when the Value field is empty at runtime, the criterion defined by this row is ignored; processing is the same as if this row is not present. For example, assume the criteria in a row is:
In situations where this default behavior is not desirable, select the Use Null* box to force the Condition value to become |
Ignore CaseGATZH - added on 3/17/2010 |
Select to cause runtime tests or comparisons of the Field value and the Value value to occur after the system converts both to uppercase. If selected, then at runtime Clear to cause tests of the Field value and the Value value to occur without case conversion. In this case, In most cases, leave this box cleared. Select this box only when necessary to obtain the rows of the report:
See Pega Developer Network article PRKB-25511 How to correct the Case Insensitive warning for list view rules. |
Field |
Description |
Report Title |
Enter the title of the report. |
Display in Report Browser? |
Optional. Select to indicate that the report is to be displayed in the Report Browser of the Manager portal. See Manager portal — Using the Report Browser. |
Category |
Optional. If Display in Report Browser is selected, enter the category in which the report is to be displayed. If the report is designed be placed in a new category, create the category first in the Report Browser. |
Working with the Report Viewer
Report Definition rules — Defining and Editing Charts Report Definition form — Completing the Chart Definition dialog |
|
Atlas — Standard Report Definition rules |