sivakumar_saas Posted June 21, 2010 Share Posted June 21, 2010 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 Link to comment Share on other sites More sharing options...
ramnik Posted June 21, 2010 Share Posted June 21, 2010 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 ..orYou can open the report unit in iReport [ using Jasperserver Plugin ] and save the JRXML file ..Ramnik KaurSenior QA Engineer Link to comment Share on other sites More sharing options...
sivakumar_saas Posted June 21, 2010 Author Share Posted June 21, 2010 Hi Ramnik Kaur, Could you please post screen shot/Link. I am not able to get your Pt. Thanks in advance.Regards,Ram Link to comment Share on other sites More sharing options...
ramnik Posted June 21, 2010 Share Posted June 21, 2010 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 KaurSenior QA Engineer Link to comment Share on other sites More sharing options...
sivakumar_saas Posted June 21, 2010 Author Share Posted June 21, 2010 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 Link to comment Share on other sites More sharing options...
ramnik Posted June 21, 2010 Share Posted June 21, 2010 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 KaurSenior QA Engineer Link to comment Share on other sites More sharing options...
sivakumar_saas Posted June 21, 2010 Author Share Posted June 21, 2010 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 Link to comment Share on other sites More sharing options...
ramnik Posted June 21, 2010 Share Posted June 21, 2010 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 KaurSenior QA Engineer Link to comment Share on other sites More sharing options...
alexal Posted September 6, 2010 Share Posted September 6, 2010 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! Link to comment Share on other sites More sharing options...
alexal Posted September 8, 2010 Share Posted September 8, 2010 This is the reason I love open source so much! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now