Jump to content
We've recently updated our Privacy Statement, available here ×

subreport expression


fachhoch

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 6 years later...

@lucianc
Jasperforge 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

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...