From Bright Pattern Documentation
Jump to: navigation, search
 
Line 2: Line 2:
 
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.
 
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.
  
 +
 +
[[File:reporting-db-spec-image8.png|thumb|600px|center|]]
 +
 +
 +
== How to Preview ==
 
To preview a modified report, follow these steps:
 
To preview a modified report, follow these steps:
# Enter/edit all parameters in ''Design'' view (e.g., ''Timeframe (start_time:Timeframe Start)'').
+
# Enter/edit all parameters in ''Design'' view (e.g., ''Timeframe (start_time:Timeframe Start)'').<br /><br />
# Select the ''Preview'' tab.
+
# Select the ''Preview'' tab.<br /><br />
# Select the data source.
+
# Select the data source.<br /><br />
# Enter the desired report format (i.e., Java, HTML, PDF, DOCx, etc.) with which to view the report.
+
# Enter the desired report format (i.e., Java, HTML, PDF, DOCx, etc.) with which to view the report.<br /><br />
 
# Click the '''Run''' button [[File:Jaspersoft-Run-Button.png|26px]].
 
# Click the '''Run''' button [[File:Jaspersoft-Run-Button.png|26px]].
  
  
* Note the following:
+
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.
* If you see an exception at this point regarding JRAbstractScriplet, restart the Jaspersoft Studio and repeat the 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'''.
+
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.
* If you get a compilation error, try reformatting the report template, and repeat the above Preview steps.
 
  
 +
== Notes ==
 +
* If you see an exception regarding JRAbstractScriplet, restart the Jaspersoft Studio and repeat these steps.
  
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.
+
* 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'''.
  
'''Note:''' 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.
+
* If you get a compilation error, try reformatting the report template, and repeat the above Preview steps.
  
  
[[File:reporting-db-spec-image8.png|thumb|600px|center|]]
 
  
  
<center>[[custom-reporting-tutorial/ImportingandModifyingReportTemplates|< Previous]]  |  [[custom-reporting-tutorial/UploadingModifiedReportTemplates|Next >]]</center>
 
  
  
 
</translate>
 
</translate>

Revision as of 17:08, 29 August 2018

Other languages:
English • ‎日本語
• 5.19 • 5.2 • 5.3 • 5.8

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 >