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

gemsley

Members
  • Posts

    2
  • Joined

  • Last visited

gemsley's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I am using the PHP client, trying to upload subreports to an existing report. I have a report at '/Reports/MyReport', so I tried to use $c->repositoryService()->createFileResource($file, $content, '/Reports/MyReport_files/subreport.jrxml')[/code]to upload it to the hidden _files directory each report unit has. This works - if I try to upload the file again, it says the file already exists. But it doesn't actually make it part of the report unit. How do I use the PHP client to upload a subreport to an existing report unit, and make it part of the report unit?
  2. I have some reports that use an expression to choose which subreport to run, eg: Subreport expression: IF($F{somebooleanvalue}, "subreport.jrxml", "othersubreport.jrxml") This works fine in Jaspersoft Studio, but when I publish the report it doesn't detect either of those subreports as a resource that needs to be published. How can I get it to publish them? Ideally I would just want it to publish every jrxml file in a folder or in the project.
×
×
  • Create New...