From Bright Pattern Documentation
Jump to: navigation, search
This page contains changes which are not marked for translation.

• 5.2

Previewing and Saving Modified Report Templates

When modifying report templates, you may wish to see how the changes you make in the Design view actually look on the report template. The Jaspersoft Studio Preview tab generates and displays the report as-is, providing a glimpse of the report template in its current state.


Reporting-db-spec-image8.png


How to Preview

To preview a modified report, follow these steps:

  1. Enter/edit all parameters in Design view (e.g., Timeframe (start_time:Timeframe Start)).

  2. Select the Preview tab.

  3. Select the data source.

  4. Enter the desired report format (i.e., Java, HTML, PDF, DOCx, etc.) with which to view the report.

  5. Click the Run button Jaspersoft-Run-Button.png.


Your modified report will be displayed in the Preview area. If necessary, return to the Design view for further editing. Otherwise, save the modified report template with a new name by clicking File > Save As and entering a new file name.

Doing a Save As only saves the modified report template in the Jaspersoft Studio reports folder. If you wish to upload the modified report template to Contact Center Administrator, you must also export the new report template and save it to the appropriate folder.

Notes

  • If you see an exception regarding JRAbstractScriplet, restart the Jaspersoft Studio and repeat these steps.
  • When you click the Preview tab, a report will be run automatically. You must wait for it to be complete before you can select the desired data source and click Run.
  • If you get a compilation error, try reformatting the report template, and repeat the above Preview steps.



< Previous | Next >