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.
Try right clicking on the jrxml file on the remote server (in Studio), then "Open in Editor," then save it locally.
Hello, thanks for your response.
My problem is that it doesn't work for subreports. I have 10 remote reports and each can have many subreports, so I'm trying to download the main report with all its subreports at once!
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.
Just a warning, your report may not run locally because the datasource and links are probably pointing to a repository resource.
@hozawa: Yes, thanks, it throws an InputStreamException. In fact the data source is on a webdav so I would have thought it would work but it doesn't.