Page Report Manager
All created page report files (.cls) are physically placed in the same directory where the catalog file resides. Due to this, you will not be able to get detailed information about a page report until it is opened in Logi JReport Designer. For example, if you want to find a page report with a special condition, you will have to load each page report. For just a few page reports, this is not a problem. However, the case is different when there are many reports.
Logi JReport provides you with a tool for managing page reports by means of adding them into folders with the Page Report Manager. You can build folder items in the manager, helping you to divide the page reports into different types at your disposal. Then, the reports can be added to the folder, and worked on just like processing files in a file system--add, open, delete, move, rename and search items. In all, the feature of report folder implemented in catalogs enables you to manage your page reports in a way that can better satisfy your requirements.
The following are some concepts used in the Page Report Manager:
- Folder Item: A container in which you can operate page report items or sub folder items.
- Report Item: This represents a page report. You can edit name, keywords and description properties of this item.
To display the Page Report Manager, select Report > Manage Page Reports.
You can manage your page reports in the current catalog with the Page Report Manager as follows:
Adding an Item
To add a folder item to the Page Report Manager:
- Select a folder and select New Folder on the toolbar or right-click a folder and select New Folder from the shortcut menu.
Now, a new folder is added as a sub node, and the default name for the folder is Folder1, Folder2.... You can rename the folder as required.
- Select the folder and select Rename on the toolbar or right-click it and select Rename from the shortcut menu.
- Type a new name in the name box, and then select outside the box (or just press Enter on the keyboard).
To add report items to the Page Report Manager:
- Select the folder to which you want to add the page reports and select Add Page Reports on the toolbar, or right-click the folder and select Add Page Reports from the shortcut menu.
- In the Choose Page Report dialog, all the page reports in the current catalog are listed. Select the required ones.
- Select the Add button to add the selected page reports to the folder. The default names of the report items are the file names of the reports. You can rename the report items as you would with a folder item.
A report can be added to multiple folders in case you want to include it in multiple categories. You can double-click any report item in the Page Report Manager to open the report.
Editing the Properties of an Item
Select the item the properties of which you want to edit, select Show Properties on the toolbar, then edit its property values in the Properties sheet. After editing a value, press Enter on the keyboard to confirm the change. You can make use of the quick search toolbar to search for the desired properties (to display the toolbar, select the Search button at the upper right corner of the Properties sheet). The search toolbar is closed when you select another item.
- Text box
The quick search toolbar treats resource names as strings and searches by consecutive text. Type in the text you want to search for in the text box and the resources containing the matched text will be listed. - X
Clear the text in the text box.
Lists more search options.- Highlight All
Specifies whether to highlight all matched text. - Match Case
Specifies whether to search for text that meets the case of the typed text. - Match Whole Word
Specifies whether to search for text that looks the same as the typed text.
- Highlight All
The properties of a folder item are:
Property Name | Description |
---|---|
Description | Specifies the description of the folder.
Data type: String |
Name | Specifies the name of the folder.
Data type: String |
The properties of a report item are:
Property Name | Description |
---|---|
Author | Specifies the author of the report.
Data type: String |
Description | Specifies the description of the report.
Data type: String |
File Name | Specifies the name of the report.
Data type: String |
Keywords | Specifies the keywords of the report.
Data type: String |
Last Modified Time | Specifies the last time at which the report was modified.
Data type: String |
Last Print Time | Specifies the last time at which the report was printed.
Data type: String |
Last Run Time | Specifies the last time at which the report ran.
Data type: String |
Name | Specifies the display name of the report.
Data type: String |
Query Name | Specifies the query
used by the report.
Data type: String |
Value Type | Specifies the type of the report.
Data type: String |
Searching for a Report or Folder Item
Wildcard searches for report name or folder name in the Page Report Manager are supported. To search a report or folder item, follow the steps below:
- Select a folder item and right-click it.
- Select Search on the shortcut menu to display the Search Reports dialog.
- In the Find what text box, input the report or folder name, or report keywords you have specified for the Keywords property of the report in the Properties sheet, then select the corresponding search criteria from the By drop-down list, which can be by name, by keywords or by name or keywords.
If you just input part of the report or folder name, or report keywords, use * to replace the other part of the name or keywords. For example, if you want to search for the report EmployeeInformation, you should input *Info* instead of info in the text box.
- Specify what you want to find: a folder, a report or both.
- Enter the search path in the Look in text box.
- Specify whether to limit the search to text that exactly matches the case of the search text.
- Specify whether to find the folder or report also in the sub folders of the search path.
- Select the Search Now button to start searching. Matched results will be listed in the search result box.
- If you want to start another search, select the New Search button and set the condition using the method described above.
Exporting the Report Information to a Table
You can export report information in the Page Report Manager to a table in a DBMS. The default name of the table is ReportsInfo. You can change the name as required. Each row of the table is a report description. To do this:
- Select the root folder Reports and right-click it.
- On the shortcut menu, select Export. The Get JDBC Connection Information dialog appears.
- Fill in the required fields for connecting to the DBMS, and then select the OK button.
- Give a name for the table, and then select OK in the Input dialog. The report information is added to the table in the DBMS.
You can then set up a JDBC connection in a catalog to connect with the DBMS and add the table to the catalog via the JDBC connection for use.
Note: If a table already exists, it will be replaced. So you must be sure that there are no duplicate names in the DBMS.
Moving an Item to Another Folder
Any items added to the Page Report Manager can be moved to another folder if required. You can use either of the following methods to move an item:
- Using shortcut menu
- Right-click the item that you want to move and select Move To from the shortcut menu.
- The Move Report/Folder dialog appears. All the available folders are listed in the dialog.
- Select the folder you want the item to be moved to, and select OK. The item will then be moved to that folder.
- By dragging and dropping
Drag the item to the destination folder.
Deleting Items
Using the Page Report Manager, you can delete reports from the file system.
To delete items from the Page Report Manager:
- Select the items on the Reports tree, and then take either of the following ways:
- Press the Delete key on the keyboard.
- Select the Delete button on the Page Report Manager toolbar.
- Right-click and select Delete from the shortcut menu.
- A Warning message box is displayed. Check the option Also delete report files from file system if you want to remove them from your local directory permanently. Otherwise leave the option unchecked and only remove the items from the virtual tree.
- Select Yes in the box. If a report is selected, the report will be deleted. If a folder is selected, the folder and all its contents will be removed.
If a report is deleted manually from the local file system, later when you open the Page Report Manager, you will see the node icon that represents the report is marked with a red cross. You can use the above method to remove the unused node.