Open bigbill91 opened 8 years ago
How can I add other sub resources to this report using PHP. I can't find any documentation of this case.
`$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 (\Jaspersoft\Exception\RESTRequestException $e){ echo $e->getMessage(); }`
But always this error shown with message 'null'
Do you mean as opposed to the path above?
I mean, how can I add sub jrxml files as resources in this principal report file5Report
jrxml
file5Report
How can I add other sub resources to this report using PHP.
I can't find any documentation of this case.