Report generation in web applications - ms-word

As part of my web application, i am using iReport tool to generate reports and its working fine but my doubt is, is it possible to generate xls type report in browser like pdf (we can show the pdf file in the browser)? Means I need to show reports in xls file or word document in the client machine, is it possible? Can anybody clear my doubt?

Although it is a bit late, I'll try to give a generic answer
you can fetch your data to your local Jasper Reports server via JSON.
There is a sample of JsonDataSource in the 4.5.0 version of jasperreports at *\demo\samples\jsondatasource
to run report and receive output pdf, etc. you can use REST API for Jasper Server
then you send output to end user

Related

How to upload to JasperServer report with subreports with rest

anybody know, using rest api how to upload all report with subreports and input control to Jasper Server, or may be know converter than convert project from jasper studio to jasper server with js-import structure?
I know how to upload with put/get request but only separately files and don't know how with rest tie report and subreports

How To Show Jasper Report in Web Page Without Embedding Java Applet Along With Exporting Options of Several File Formats [ pdf , xls etc ]

I am developing an web application where i need to show a report to users. I am using jasper report for reporting. Now what i want to do is to show the jasper report in my web page along with option to export report in pdf/excel file format according to user preference. I don't want to embed java applet on my web page to show report. I have searched over internet and found sample of showing report in browser pdf reader. It solves my purpose of showing report in web page without using applet but by this i can only export report in pdf format. But i need to give user option of exporting in excel format too. So my question is what way i can achieve my goal as i mentioned above?
Finally i found solution of my question. First, I exported jasper report in a html file & then showed the html file in my web page within a iframe which meet my purpose of showing report within web page. And exporting report is done by several exporter class like JRXlsExporter, JRPdfExporter etc. of jasper report.

what are different preview report using excel preview and excel preview(using J ExcelApi) in iReports 2.0.2?

i'm still new in Jasper reports.i still confuse what the different preview report using excel preview and excel preview(using J ExcelApi) in iReports 2.0.2.Which is more common that people use?. is there any effect when we generate the report?. Can anybody tell me?
Jasperreports supports multiple export formats (xls, pdf, csv, etc...). After developing a report using iReport, you can generate a report in any of those export formats. The best way to view those reports is using an external appliction that you can map. For example, xls report is tied with Excel and pdf reports are tied with Adobe Reader. The new version of iReport supports generation of these reports using the application itself (preview). However, what happens in the background is the same whether you view it with external viewer or internaly using iReport "preview". Personaly, I prefer to use external viewer. The exported reports are cached in the compilation directory.

Can Crystal Reports be controlled via url access?

I'd like to know whether crystal reports allows url access to render reports? I know we can create webpages that host a reportviewer object. However, I plan on using C# windows service to access the report, i.e. through a url.
The report I wish to generate needs to be in MHTML/HTML and PDF format. So if I could do something that URL access that RSSQL can do, with Crystal Reports. That would help immensely.
Regards,
Shameegh
If you report has been deployed to BusinessObjects Enterprise, you can use Url Reporting. If not, you will need to write your own interface.
If you write your own interface, base it on the Url Reporting interface and add the project to code.google.com. ;)
SQL Server Reporting Services allows you to access reports via a URL. You can select various options for the report (Excel, PDF, etc...). Then just have a hyperlink on your page to pass parameters or use as a web service behind the scenes. You could have the same report show PDF or HTML based upon the query string option.
To learn more about Reporting Services see: http://alexduggleby.com/2008/07/18/sql-server-reporting-services-2008-tutorial-in-5-minutes-or-how-to-send-my-boss-a-report-from-a-view-quickly/

Storing Crystal Reports in XML files?

I was talking to somebody a recently who mentioned it was possible to store reports created using Crystal Reports as XML files.
Upon Googling this, I can't find anything suggesting that this is the case (using data stored in XML in a report, yes, but actually storing the report, the part stored by default as a .rpt file, no.
Am I correct in assuming that there was in fact some sort of misunderstanding between us and it in fact not possible to do this?
It is not possible to store the report template in XMLformat. XML is supported as export format of the "rendered" report only.
For what purpose do you need the report template in XML format. There is a Java reporting solution called Crystal-Clear which can read the Crytsal Reports report template and save it as XML report template. The other way round this does not work. After you created a XML file you cannot open the report with Crystal Reports again. But you can work with the report using Crystal-Clear which is coming with a GUI-designer too.
Use the Crystal Reports SDK to convert the RPT file format to XML.
There's a GitHub project that will convert RPT to XML. The intent of the tool is to use for diffs, so I don't know if there is a XML to RPT converter. Crystal Reports certainly can not take the XML file and open it like a .RPT file.
At least in version 8.5 XML-file is one of the supported export destinations just like PDF, Excel or Word. Seems unlikely they'd have removed the support in later versions.
I just tested in Crystal Reports 10.
Open up the report you want to export, click on export in the file menu, and at least in CR 10, XML is at the very bottom.
Next a screen appears, asking for directory and base file name to save to. According to the Window it uses "Crystal Markup Language" XML Format