Download JRXML file from Jasper Server

-1

 Hi,

      I have created a report in Jasperserver using a domain. Is it possible for me to download that JRXML file from Jasperserver?

Regards,

Ram

 

kvramach's picture
Joined: Jun 9 2010 - 2:33pm
Last seen: 9 years 6 months ago

9 Answers:

0


It is not possible to directly download the JRXML file for a rpeort unit. However , if you export the resources , you can get the JRXML file too ..or

You can open the report unit in iReport [ using Jasperserver Plugin ] and save the JRXML file ..

Ramnik Kaur

Senior QA Engineer

ramnik's picture
331
Joined: Mar 16 2007 - 9:10am
Last seen: 12 years 9 months ago
0

 Hi Ramnik Kaur,

          Could you please post screen shot/Link. I am not able to get your Pt. Thanks in advance.

Regards,

Ram

 

kvramach's picture
Joined: Jun 9 2010 - 2:33pm
Last seen: 9 years 6 months ago
0

1st way :-

Steps:-

- Open iReport designer

- Open the window Jasperserver Plugin

- Eneter the properties of jasperserver [ ur jasperserver and login information ]

- in the jasperserver repository browser , select the report you want to open

- and right click and select -> open in editor

- from here , click save , and you will be able to save the report as JRXML

screen shot attached

2nd way:-

- export the jasperreport unit using the Buildomatic command -> js-ant export -DexportFile = "filename.zip" -DexportArgs="--uris /organizations/organization_1/reports/etcetc"

in the exported report unit , open the resources folder and you can find out the JRXML file for the rpeort .under files folder

Ramnik Kaur

Senior QA Engineer

ramnik's picture
331
Joined: Mar 16 2007 - 9:10am
Last seen: 12 years 9 months ago
0

 Thanks Ramnik Kaur for your help. When i opened the report and try to run the jrxml file. I am getting an error

"Only a type can be imported.com.jaspersoft.ji.adhoc.jr.AdhocReportUtils resolves to a package"

 

Could you please help me in this regard?

 

Regards,

Ram

kvramach's picture
Joined: Jun 9 2010 - 2:33pm
Last seen: 9 years 6 months ago
0

Since this is adhoc report , you should try to run it as report unit and not only the JRXML. Because there will be other resources refrenced by this report . and basically , since this is domain report , i think prefrered way is to run it  as repot unit and not just as JRXML

 

- you can run this report unit by right clicking in Jasperserver Plugin and click run report unit

 

Ramnik Kaur

Senior QA Engineer

ramnik's picture
331
Joined: Mar 16 2007 - 9:10am
Last seen: 12 years 9 months ago
0

 I am able to run the report successfully. But my requirement is to embed this JRXML in to my application and view the report from my application. Is that possible?

Thanks for your valuable input and support.

 

Regards,

Ram

kvramach's picture
Joined: Jun 9 2010 - 2:33pm
Last seen: 9 years 6 months ago
0

As far as i know , we cannot run just the JRXML for domain report]  directlly from the iReport . Even , i tried myself and i got error . It is not supported way. However, abt embedding the JRXML in ur application ..i may not be right person to answer ..

Ramnik Kaur

Senior QA Engineer

ramnik's picture
331
Joined: Mar 16 2007 - 9:10am
Last seen: 12 years 9 months ago
-1

 Is there any way to prevent the downloading of JRXML from JS? I've created several reports in iReport and I don't want to share them with the client. The server will be located on client's side.

Thanks in advance!

 

alexal's picture
15
Joined: Jul 8 2010 - 5:17am
Last seen: 9 years 5 months ago
-1

 This is the reason I love open source so much!

alexal's picture
15
Joined: Jul 8 2010 - 5:17am
Last seen: 9 years 5 months ago
Feedback
randomness