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

Drill down to another report unit gives wrong URL


sjongenelen

Recommended Posts

Hi,

First of all; i've read all the post about the drilldown methods for JasperServer. I followed the guids using the following:

JasperServer 3.5 pro
iReport 3.6.1

I have made a first report (report_main) and a second report (report_sub). I want to make one textfield in report_main an hyperlink which link to report_sub in iReport.
question: must i use 'ReportExecution' type hyperlink, or 'reference'? ive been using ReportExecution...

I've set the "link parameters" to:

_report ----------->  "/test/report_sub"
indexid -----------> $F{id}

in the report_sub i made a parameter called exactly the same. ('indexid'). The parameter type, for the record, is String.

Now i compile and upload it to the JasperServer. On the report_sub ive made an input control (indexid).

now the problem:

the '_report' link parameter resolves in the URL to a wrong one: it starts with /organisations/COMPANYNAME and i dont want him to do that! this way the JasperServer cannot find the report unit!

error: 

 
Resource "/organizations/COMPANYNAME/test/report_sub" of type class com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.impl.RepoReportUnit not found.

 someone help please!



Post Edited by sjongenelen at 11/10/2009 13:42



Post Edited by sjongenelen at 11/10/2009 13:48
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

I think you are not using the incorrect URL.

Example:

create the report units inside public folder and use the following URL in _report parameter:

/public/LabelNameOfReportUnit folder.

Hope, it will solve ur problem

Regards
Javed



Post Edited by javi_123 at 11/10/2009 15:29



Post Edited by javi_123 at 11/10/2009 15:30
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...