From Bright Pattern Documentation
< 3.11:Custom-reporting-tutorial
Revision as of 20:12, 11 May 2016 by Sasha (talk | contribs) (Created new topic from branched topic Documentation:ServicePattern:custom-reporting-tutorial:ImportingandModifyingReportTemplates:3.10)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

Importing and Modifying Report Templates

To import the report templates:

  • In the MyReports project, create a folder called reports
  • Right-click the reports folder and select Import… > File System
  • Choose the folder where you have stored the report template files downloaded during the previous step
  • Select these files and click Finish

You can now use the visual editor of the Jaspersoft Studio to modify the imported report templates, e.g., remove some of the existing metrics or add new ones.


A simple example below shows how to remove column Case from the out-of-the-box Agent Activity Report.

  • Open file agent_activity.jrxml
  • Select elements $R{col_case_id} in the group header frame, and $F{case_number} in the detail frame of the last column.


Reporting-db-spec-image5.png


  • Click Delete to remove these elements.
  • Select the report frames and reduce their widths by dragging the elements to the right position.


Reporting-db-spec-image6.png


  • Right-click in the design view and select Page Format. Reduce the width of the report.


Reporting-db-spec-image7.png
< Previous | Next >