You can view and work on a report in the Report Viewer in a number of ways:
| • | Running an instance of an existing report |
| • | Creating a new report from an existing Ad Hoc view |
Running a Simple Report
This section describes how to run a tabular report that lists account data.
To run a report:
| 1. | Log into the server as an administrator, such as jasperadmin. |
| 2. | On the Home page, click View list in the Reports block. |
The search results appear, listing your own files and other files that your user account has permission to view. If you log in as jasperadmin, 05. Accounts Report appears in the search results.
![js-ViewReports_605x166.png.53f49688c759cc4925cc5430e2390fb4.png](https://community.jaspersoft.com/applications/core/interface/js/spacer.png) |
Search Results Listing |
| 3. | To run a report, click the name of a report in the repository. For example, click 05. Accounts Report. The report appears, as shown in “Output of the Accounts Report”. |
![js-Report-Example-Accounts.png.a136f8dc776cda6ac1f634226e97c159.png](https://community.jaspersoft.com/applications/core/interface/js/spacer.png) |
Output of the Accounts Report |
![note-icon-ns_28x28.png.125a9b21c46998e5bcb929613797d367.png](https://community.jaspersoft.com/applications/core/interface/js/spacer.png) | If you are running a report with multiple pages, the first page of the report appears before the entire report is loaded. You can begin scrolling through report pages as they load, as indicated in the pagination controls in the upper left corner of the Report Viewer. If you want to cancel loading the report before it is complete, click the Cancel Loading button that appears next to the pagination controls. |
Creating a Report
You can create a report directly from the Jaspersoft Server Home page. This method allows you to select an existing Ad Hoc view and generate a report from it, without going through the Ad Hoc Editor.
To create a report from the Home page:
| 1. | On the Home page, click Create in the Reports block. The Create Report wizard opens. |
| 2. | Select the Ad Hoc view you want to use as the basis for your report. |
| 3. | Select a report template. To use a template other than the default, select Custom Report Template, click Browse and select the desired template. See Report Templates for more information. |
You can now begin working with your report.
Report Templates
When you create a report, the Create Report wizard displays layout options for generating and exporting the report:
| • | Default Report Template applies basic layout options to your report. This is usually the Actual Size template. |
| • | Custom Report Template allows you to browse to an existing template. JasperReports® Server includes a number of templates are available by default, including: |
Other report templates may be available. Report templates can be created in Jaspersoft® Studio and uploaded to JasperReports® Server.
| • | Report Generator allows you to create a highly customized report design. This option is not often enabled. See your JasperReports® Server administrator for more information. |
Most commonly, you will choose Default Report Template.
Using Report Templates for PDF
If you are exporting your report to PDF, choose your option based on the size of the output.
| • | For most PDF exports, you can use Actual Size, which supports a maximum size of 14400px by 14400px. |
| • | For reports with an output height exceeding 14400 px, use a paginated report template that is wide enough for your report. For example, if you have a long report with width less than 842px, you can use the paginated A4 Landscape theme. A report designer can create additional custom templates in Jaspersoft® Studio. contact your administrator for more information. |
| • | Reports with output width exceeding 14400 px will be truncated in PDF. Redesign your report or use a different export format. |
Recommended Comments
There are no comments to display.