Jump to content
Changes to the Jaspersoft community edition download ×

How to copy complex remote reports in the workspace


Recommended Posts

By complex I mean with several subreports.

I'm working with Jaspersoft Studio and I have successfully configured the access to a Jasper Server. I'm now trying to export a whole report (with all its subreports) from the server into my workspace.

I click copy on the report unit in the repository explorer, and then if I try to paste in the project explorer I encounter the following error:

    Cannot paste the clipboard contents into the selected elements.

My goal is to have all reports locally to do the report modifications and then publish them, because so far I can only edit the remote reports live.

Thanks in advance for the help.

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Assuming this is not a Jasper bug, I don't believe the Studio import/export functions understand report dependencies. In fact, I am reasonably sure they do not.


*If* I'm right, then you have two options: either bring each report or sub-report down individually; or, if you are familiar with the Jasper database, you can use a PHP script or may be even a SQL script to copy all the elements you'll need.


Again, *if* I'm right...


Either way, I would discourage you from going into the database directly.


Good luck,




Link to comment
Share on other sites

Jaspersoft Studio is just using JasperReports Server APIs to get information from the server. It's not Jaspersoft Studio not understanding but JasperReports Server APIs not being able to convert datasource properly.


I think the best way to solve this problem (without modifying JasperReports Server) is to pass datasource as a parameter.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...