Editing a Report

1. In the Repository Explorer, navigate tot eh report unit, right-click its JRXML file, and select Open in Editor.

The JRXML from the repository is stored locally in your workspace; the default location is under your user directory in your operating system. For example, in Windows, the default workspace is C:\Users\<username>\JaspersoftWorkspace\MyReports.

The JRXML appears in the Design tab.

2. Edit the file, either in the Design tab or in the Source tab. For example, in the Repository Explorer navigate to the Images\JR Logo image resource, and drag it into to the report's Title band.

The logo appears in the Design tab.

3. Click Save.
4. If you are prompted to publish the report, click Yes.
5. You are prompted to specify a server and a repository location. To save the JRXML to the same report unit where you opened it, click Next.

If the report relies on resources, you are prompted whether to overwrite the resources currently in the repository. If you added resources to the report, you are prompted to add them to the repository.

6. Click Next.

You are prompted to specify a data source for the report. You can't change a data source through the Publish wizard.

Click Finish.

Your changes are saved to the repository.

To edit a Report Unit in the Repository from Jaspersoft Studio:

1. In the Repository Explorer, right-click the report unit and select Properties.
2. On the Resource Editor tab, change the name and description.
3. On the Report Unit tab, you can change the JRXML file for the report, either by selecting one from the repository, or uploading one through Jaspersoft Studio.
4. On the Data Source tab, select the data source from the repository or from Jaspersoft Studio.
5. On the Input Controls tab, set the display properties for any input controls.

The Controls Layout determines how the input controls are displayed to users:

     Pop-up Screen: the controls are shown on-top of the report viewer.
     Separate Page: the controls are shown in a different page than the report viewer.
     Top of Page: the controls are shown at the top of the report viewer.
     In Page: the controls are shown next to the report viewer.
6. You can also use the JSP field to modify the appearance of the controls. Specify a name of a JSP file in WEB-INF of the server's host to define the page that displays input controls.
7. Click Finish.

 

Version: 
Feedback
randomness