fachhoch Posted January 22, 2010 Share Posted January 22, 2010 I will place all my compiled reports in a hashMap, its not inside a jar file or not in classpath.In this case please tell me how can I tell the main report where to find the subreport ? Link to comment Share on other sites More sharing options...
lucianc Posted January 29, 2010 Share Posted January 29, 2010 Follow-up at http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=69969 Link to comment Share on other sites More sharing options...
bilel.krichen Posted June 10, 2016 Share Posted June 10, 2016 @luciancJasperforge is not accessible for me can you give me an example that upload subreport to the principale report using php client api$c = new Client("http://192.168.1.101:8080/jasperserver","jasperadmin","jasperadmin");try{ $report = new ReportUnit; $report->label = "file5Report"; $report->description = "file5Report"; $report->jrxml = "/jrxml/file2"; $report->dataSource = "/datasources/datasource"; $report->resources = array("/ImageFolder/Subjrxml"); $c->repositoryService()->createResource($report, "/ImageFolder", false);}catch (JaspersoftExceptionRESTRequestException $e){ echo $e->getMessage();}[/code]But always this error shown with message 'null' Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now