Exporting Reports Activity

 

 

 

Step

Action

1. 

Begin by opening a report to investigate how to export it to various formats.

 

Select View > Repository from the main menu.

2. 

Expand the Public folder.

3. 

Expand the Samples folder.

4. 

Click the 05. Accounts Report list item to execute the report.

5. 

Note: The Accounts Report appears in the Report Viewer.

6. 

The Export menu is at the upper right, to the right of the Save menu.

 

Point to the Export menu to view the available export formats.

7. 

Note: JasperReports Server supports many formats to which users can export reports. Several office suite formats are supported, including MS Office and the open source Open Office.

 

Task 1: Explore export options, is complete.

8. 

Click the As PDF menu item.

9. 

Note: The report opens as a PDF file in a new browser tab.

10. 

Close the new browser tab to return to the main report.

11. 

Select Export > As Excel from the menu.

12. 

Note: Exporting to formats other than PDF opens a dialog box, prompting you to open the report or save it to the computer.

13. 

In the dialog box, click Open to view the report.

14. 

Note: The report opens in spreadsheet format, from which the user can view, modify, or save the report.

 

Changes made to the exported report are not reflected in the JasperReports Server source version of the report.

 

Task 2: Export a report to PDF and Excel formats, is complete.

15. 

Congratulations!

 

You completed the following two tasks:

 

- Explore export options

- Export a report to PDF and spreadsheet formats

End of Procedure.