Report Definitions
|
|
Use the Report Viewer tab to
Report header
You can customize the way the header for all your application's reports displays by overriding the section pyReportEditorHeader, an extension point. Save a copy of this section into your application's ruleset, edit it to display the information, images and layout you desire, and each of your application's reports will automatically use it as their header.
Field | Description |
---|---|
Report Title | Enter the title of the report. It appears at the top of the Report Viewer. |
Header Display |
Optional. Available for list reports only. Select an option to control what information appears at the top of the report:
Note: if you select Hide Column Headings, the column command menu is not available. |
Do not scroll header | Optional. Check the checkbox to keep the report's column headings in view as the user scrolls down a long report page in the Report Viewer. |
Display filters using custom section |
Optional. Check this checkbox to replace the default Filters display at the top of a report with a custom section. The custom section can include basic controls (such as drop-down menu and text entry field), and the controls can only provide values for the filter functions established in the Edit filters section of the Query tab. When the checkbox is checked, new fields appear:
|
Display custom section inline |
If you select the previous option, this option appears. Check the checkbox to have the custom filter section appear at the top of the tab displaying the report. Leave it unchecked for the default behavior: when you click the filters link, the custom section appears in a popup window. |
Report body
Field | Description |
---|---|
Display actual data while editing report | Optional.Select to display actual, rather than simulated, data for the report when the report first opens in the Report Editor. The Report Editor offers users the option to edit a report while viewing either actual or simulated data. This option is useful for expensive reports, to avoid repeated queries of the database while the report is being edited, and also for development environments in which there is no or very little data yet for the class on which the report is defined. |
Display rows using custom section |
Optional. Available only for list reports. Select to replace the default display for each row of a report with a custom section. A field appears where you can select the section; select the edit icon that appears beside the selection field to create a new custom section. Sections used for this purpose can have simple controls such as text fields, but cannot use complex controls such as grids or trees. Note: test carefully any custom sections you use for displaying rows. You may get unexpected results as the report definition tries to populate a section which, for instance, does not account for all the properties it is asked to display. Note: Nested sections may not render properly when used as custom sections. PRPC cannot tell the width a custom section requires. When a window is resized, PRPC does not automatically resize the width of the custom section. Design the custom section to fit into the smallest display size possible. |
Grouping
Field | Description |
---|---|
Do not display group headings |
Optional. Only available for summary reports. Select to not show group headings in the report display. This results in a spreadsheet-style display with no subtotals, subaverages, or similar values. When this is selected, the user can sort the report in any way desired. When group headings are shown, there are restrictions on how results can be sorted: the first n-1 GROUP BY columns in a summary report must also be the first columns in the sort order. |
Group results and display values in sort columns 1- N as group headings | Optional. Only available for list reports. Check this box to group report data by one or more of the sort columns for the report (that is, those columns that have sort order values in the Edit columns section of the Query tab). When you check this option, you will be prompted for which of the sort columns to display in the group headings. You can select 1 through N of these (where N is the number of sort columns in the report. Groups always consist of the values in the selected columns, in sort order. |
Display groups using custom section |
Optional. Available only for list reports in which the previous option to Group results has been checked. Select to replace the default display for each group with a custom section. A field appears where you can select the section; select the edit icon that appears beside the selection field to create a new custom section. Sections used for this purpose can have simple controls such as text fields, but cannot use complex controls such as grids or trees. Note: test carefully any custom sections you use for displaying groups. You may get unexpected results as the report definition tries to populate a section which, for instance, does not account for all the properties it is asked to display. Note: Nested sections may not render properly when used as custom sections. PRPC cannot tell the width a custom section requires. When a window is resized, PRPC does not automatically resize the width of the custom section. Design the custom section to fit into the smallest display size possible. |
User actions
Field | Description |
---|---|
Display in Report Browser |
Optional. Select to have a shortcut to this report created and display in the Report Browser. When this checkbox is checked, a field appears where you specify the Category in which the report shortcut should appear in the Report Browser. See Using the Report Browser. This checkbox operates as a one-way control:
To remove a report shortcut from the Report Browser, open the Report Browser, right-click the report shortcut, and click the Delete button. |
Prompt for filter changes before displaying report | Optional. Check this checkbox to have the system prompt the user running a report for changes to the filters before the report displays. |
Enable filter changes | Optional. Check this checkbox to allow users running the report to change those filter conditions for which changes are allowed in the Edit filters section of the Query tab. When this is unchecked, the user cannot change any filters on the report in the Report Viewer. |
Enable column command menu | Optional. Check this checkbox to allow users to make changes to a report in the Report Viewer by right-clicking any column header and selecting one of the column command menu commands to delete, re-label, or reformat the data values in the column. |
Enable toolbar |
Optional. Check this checkbox to display the toolbar within the Report Viewer and allow users access to those commands that are enabled. When this box is checked, click the Options button to enable or disable specific commands in the toolbar:
|
Disable drill down |
Optional. Available only for summary reports. Check this checkbox to disable the ability for users to click on any row or cell in a summary report and drill down to a detailed list of the instances included in the row or cell. When the box is unchecked, the report used for displaying drill down results is shown, and can be changed here. The default report used for displaying drill down results is the pyDefaultReport template for list reports for the Applies To class of the report. You can specify a different report definition in this class to use for drill downs; however, note this restriction: if the report you select for drill downs is in a ruleset that is higher in the ruleset stack for the application than the ruleset of the main report, the selected subreport is not available to the main report. In this case, the main report would use pyDefaultReport as described above. When drill down results are shown, the filter conditions in the summary report (together with conditions that represent the row or cell clicked on) override those in the custom drill down report, and no parameter values are passed to the drill down report. |
Enable paging |
Optional. Available only for list reports. Check this checkbox to display report results as a series of pages, each containing a fixed number of rows. Unchecking this box will display all results on a single page. Paging is enabled by default, since a list report may contain many rows of data, resulting in poor performance when trying to display the entire result set at once. As a good practice, enable paging for worklists and for other lists that users need to scan only until they find a row of interest. However, for maximum user productivity, design filter conditions and sorting in each list view rule to eliminate the need for user paging, or to present as few pages as possible when paging is unavoidable. See the PDN article When and how to configure paging in reports. Paging causes the system to retrieve only enough data at a time to populate the number of rows entered for the Page Size property, improving response time and reducing the size of the clipboard. At runtime, users may see the busy indicator while waiting for a paging operation to complete. When paging is enabled, click the Options button to enter settings that control how paging operates:
|
Enable SmartInfo |
Optional. Available only for list reports. Check this checkbox to add a SmartInfo icon to each row of the report, to display additional information about that row. When the box is checked, click the Options button to enter settings that control how SmartInfo operates:
|
Property Security rules
You can create a property security rule, which requires operators to have a privilege in order to see or create a report (or receive a scheduled report) that references secured properties. You specify the class of the secured property, the property name, and the privilege required. The Report Browser enforces the privilege requirement at the class specified. See About Property Security rules.
Working with the Report Editor
|