Hide JRXML from customers, if they also use JasperReports Server? - jasper-reports

Our requirement is to hide JRXML from customer, actually we have to install JasperReports Server on the customer machine and all the report will be there only.
If they install iReport then they will be also able to see our JRXL code.
How I can hide JRXML files from customers?

I found the solution to hide the JRXML's from customers, keep all the JRXML in different folder of JasperReport sever and then use these JRXML from repository when you create any report in JR server.
now if you want to hide JRXML files set the permission for this folder.

Related

Protecting Crystal Report Design and Source

I have search everywhere on Internet to protect my source of Crystal Reports or protect them by any means but all in vain.
I am using crystal-reports ver. 9. and Developing Reports for an accounting and financing solution. and need to protect the reports that no one can mess with the reports.
Any help is appreciated.
Regards.
Jamshaid Riaz
There is no way to do this with Crystal 9, you need to upgrade to Crystal 2011 or above and use RPTR file. RPTR file is a run-time report , which can be run as a normal report by the end user but cannot be edited. RPTR file is created from a regular report using export. You will keep the regular report (RPT file) for development and export it to RPTR and deploy it when it is necessary. There are some tools , which pretend that they secure any Crystal report file , but these are false statements and the files can be easily open in design mode.
To make the report read-only:
Navigate to File Menu --> Report Options -->Select the 'Read-only' check box-->click 'OK'

Data source in Jasper reports

I am using Jasper Reports Server opensource 4.5 version.
While uploading a report, everytime, I have to link the new report to a data source.
I have created a data source and my all reports run on same data source.
Is there any way to set the data source as default so that all the new reports automatically links to the data source?
How do you upload your reports to jasperserver? If you use the plugin in iReport, it's very simple to link the datasource because you can just choose the datasource from the repository.

Export to Excel to be set for a single report in jasperserver 4.5

I am working on Jasper server 4.5 version.
I need to know the details on whether i can set the Export to Excel for a report.
In more details all that i need is to have only one export option available for that report.
But at the same time the changes done for this report should not affect the export options of other reports.
Thanks in advance.
Regards,
Sarakartik
Yes, you can export your reports as .xls or .xlsx files. If you are using 4.5 professional, check out the JasperReports Server User Guide in the documentation. There is a section on navigating and exporting reports. JasperReports Server allows you to export reports in many formats.
As for report-specific export options: because the exporting buttons are at the application level and not unique to each report, I think it might be difficult to enable only Excel exports for one report and not have that flow over into your other reports without extreme customization. But maybe someone else can offer a suggestion.

How to convert SSRS 2008 Server reports to SSRS 2008 Client Reports

I have a large SSRS 2008 Server Report Project (more than 200 reports). Currently my company strategy has been changed and we want to convert these server reports to client reports.
All of the Server reports use stored procedures (or in some cases from the SQL functions)
All of them work properly andthere is no problem
Beause of project scale it is not a good idea to create all of server reports in client again.
So I want to check how to convert SSRS 2008 Server reports to SSRS 2008 Client reports (.rdl to .rdlc).
Note : I know that client reports use Dataset and I have to create Dataset. I'm also looking for a way to generate these dataset too. But for now I'm just looking for a way to convert .RDL files to .RDLC files.
If there are any application which can convert RDL XML to RDLC XML let me know.
Any help appreciated.
After a while I foud this Converting RDL and RDLC Files helpfull
1- Rename the .rdl file to use the .rdlc file extension.
2- In Visual Studio 2008, open the solution or project that will contain the report.
3- Create or add the dataset that defines the data you want to use to your projector solution. For more information, see Creating Data Sources for a Report.
4- On the Project menu, click Add Existing Item and then select the .rdlc file that you created in the first step.
5- In the project, open the form or Web page that will contain the report.

Crystal report file does not get deployed to server in ASP.NET MVC

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.