How can I edit the Main.jrxml file for a report through the iReport client and have the changes saved to the repository?

book

Article ID: 34625

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Introduction

In certain cases, it's necessary to edit the XML code from a report in the iReport client.? This following procedure can be used to publish the updates to the repository for future report executions.




Procedure

As an example, let's say we need to make an edit to the?query in the Main.jrxml file for the 'Top 20 Interfaces by Bandwidth inbound' report and republish it.? To do this use the following procedure:

1)? Open the Main.jrxml file and select the XML view.? Notice the temp file, 'file_1365019431493.jrxml' which is created:

<Please see attached file for image>

User-added image

2)? Make the necessary edits to the XML code.? In this case, we'll change the QoS name in the query:

<Please see attached file for image>

User-added image

3)? Select File -> Save As... and save a local copy of the 'temp' file:

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image


4)? Right-click on the Main.jrxml file and select Properties:

<Please see attached file for image>

User-added image


5)? Select Resource -> (check) Replace the resource with this file:? Choose your saved file and select Save:

<Please see attached file for image>

User-added image

6)? Select Cancel:

<Please see attached file for image>

User-added image

7)? Close and reopen iReport (which will reload reports from the repository), navigate to your Main.jrxml file and verify that the changes have been saved and stored.

Environment

Release:
Component: CAUIM

Attachments

1558699690004000034625_sktwi1f5rjvs16ora.jpeg get_app
1558699688264000034625_sktwi1f5rjvs16or9.jpeg get_app
1558699686499000034625_sktwi1f5rjvs16or8.jpeg get_app
1558699684455000034625_sktwi1f5rjvs16or7.jpeg get_app
1558699682765000034625_sktwi1f5rjvs16or6.jpeg get_app
1558699680789000034625_sktwi1f5rjvs16or5.jpeg get_app
1558699678916000034625_sktwi1f5rjvs16or4.jpeg get_app