I have a web application that uses Crystal Reports 12 to view reports. Reports view successfully, but when I try to export the report to any format (PDF, Excel, etc.), the export button does nothing.
When I copy the report url and enter it in the browser I get a JavaScript error object expected in allinone.js.
Although you did not provide any code, Crystal reports has gotten issues in exporting reports. So I personally recommend getting the latest version.
Related
We have Crystal Reports XI and are using Crystal Reports Server XI. We have many reports on Crystal Server but none are using report parameters.
I created a .RPT with 1 parameter called REPORT_TYPE that is a STATIC parameter in my report. For some reason, when I upload the report to Crystal Server, I cannot change the parameter value. I tried the following steps:
Opened the report in Crystal Server and clicked Process -> Parameters
Clicked where it displays the parameter named and [EMPTY] next to the value
I then can type any value I want in the field titled "Enter a value" but when I click update nothing happens. The page does not reload and the value is not stored in the report if I click another tab and go back it still displays [EMPTY]
Any help on this issue would be greatly appreciated! I tried using both the latest version of Chrome and IE (also with and without Computability View).
What you can do is modify the report on crystal and upload it again into the server. If you don't have the report, preview it and download a copy as crystal reports.
You can also do a repository connection. It will allow you to make changes on a report that is already on the server. In below link you can see how to make the connection.
How to make repository connection with crystal report
I have a report where I am using an on-demand sub-report. But my user is viewing this report from a java application. So whenever he run the report he will view this report in PDF.
Report format:
country name location sales
<on-demand subreport>
Now once he run the report he will get all the above fields data in PDF format.
So now if clicked on location field data in PDF will he get the sub-report's data.
PDF isn't intended to generate dynamic content. As such, you'll need to find an approach that will render the desire content in a static manner.
I would suggest that you parameterize your report to display one of these options:
main only
main + subreport
The PDF will either contain the main report's content or the main and subreport's content.
** edit **
If you are using BusinessObjects Enterprise (BOE), you could use the openDocument API to generate a new report instance or the most-recently-generated instance. I don't know if Crystal Reports Server supports this feature for certain.
If you are rendering reports in a Java application, then you will need to a way to intercept the hyperlinks--a server, most likely. By in large, you'd be reinventing Crystal Reports Server/BOE.
Basically I understand as you need two thing.
you need to generate a report and export/generate in pdf.
in you need to attach link or something like editable field pdf.
For First answer, you can easily hide/show of sub-report in crystal report side. but not after report generate in pdf.
So for second answer, you need to pdf professional or editable allow version. after you get that you simply use itextsharp.dll (to generate pdf from asp.net-see below link).
So finally I think, does not needed crystal report.
please check this link.
How to create an editable pdf in asp.net?
Pdf's fields should remain editable using itextsharp in asp.net
Creating a fillable PDF form with ITextSharp
My report is written in Crystal Reports for VS 2010 using c#.net. Its using the CR web viewer.
It displays everything correctly in VS and whilst testing it on IIS7 (locally) using the web viewer.
When I print or export the report (from the web viewer) all the 'fixed' fields (labels, text fields, images etc.) are printed but all the 'data' fields are not printed, just blank.
Have I missed a setting somewhere that allows the data in the report to persist?
Sounds like you might need to select Save Data with Report, which is on the File menu in Report Designer.
Looks like the reportdocument wasn't being saved to the session and restored correctly on a postback event. Modified a few bits and pieces and now its working like a charm.
I am using a crystal reports through crystal report viewer server side control in a webform.
I am using a webform because the crystal report viewer provides an easy way to export to PDF and to Excel.
My problem is that when I deploy to the server, the crystal report .rpt file does not get copied to the target folder.
My solution structure looks like this:
Solution
|-Content
|-Controllers
|-Models
|-Views
|-etc...
|-Reports
|-Default.aspx
|-Report.rpt
On the server, the Report.rpt file is missing after I publish.
If you right click on the Report.rpt file in Solution explorer and view the properties, make sure that the "Build Action" is set to Content. I believe by default it is set to Embedded resource.
I want to know if there is any way to show reports without reportviewer control...
My reports are deployed on the report server. Now I want to show these reports in a web application. Please let me know if there's any other way to show reports. I do not want to use report viewer control.
using code all reports can be "exported" to all supported formats like pdf, wrod, excel etc. By export i mean as you show the reports in report viewer and click the export button on the viewer Then you can show the genereted with somekind of viewer for that format.
Best Regards,
Iordan
P.S. You will need to use the report Viewer to achive this but the use will be internal and the user won't see the report viewer as visualization control. There is no way to show report without the use of report viewer control