Viewing: Accessing Reports and Domains from iReport > Editing a Report in the Repository from iReport

Editing a Report in the Repository from iReport

In the Repository Navigator, the icon means a report unit, and means a JRXML file. When you work with a JRXML file in the Repository from iReport, iReport operates on a copy of the file. You need to upload the JRXML file to put it back into the repository when finished.

To edit a JRXML file in the Repository from iReport:

1.     In the Repository Navigator, right-click the JRXML file in the report unit and select Open in Editor.

The JRXML from the repository is stored locally in the <USER_HOME>/.ireport/jstmp directory. This directory is never automatically cleared.

The JRXML appears in the Designer window.

2.     Edit the file, either in the Designer or in the XML editor. For information about adding images or subreports to the JRXML file, see section Creating a Report Unit in the Repository from iReport.

3.     To save the file and upload it to the repository, right-click the file in the repository tree and click Replace with Current JRXML.

A message confirms the operation’s success.

To edit a Report Unit in the Repository from iReport:

1.     In the Repository Navigator, right-click the report unit and select Properties.

2.     On the General tab, change the repository name and description.

3.     On the Main Report and Data Source tab, you can change the JRXML file for the report, either by selecting one from the repository, or uploading one through iReport. Click Current Report to use the JRXML currently being edited in iReport. Similarly, you can select the data source from the repository or from iReport. See Properties of a Report Unit in iReport.

4.     On the Other tab, you can set display properties for any input controls.

5.     On the JSP fields you can modify the appearance of the controls.

The Controls Layout determines where they appear.

 

Properties of a Report Unit in iReport

6.     Click Save to make the changes effective in the repository.