I uploaded a PDF document to the JasperReports Server as a Content Resource. When I browse the repository, I can view it just fine. Now what I want to do is add a hyperlink in a report that opens up the PDF file in another window. The URL that is generated when I click on the document looks like this:
I tried to create a hyperlink with a type of Reference and used the URL above. However, when I run my report and click on the link, I get a generic error "Internal server error occurred. Please contact your system administrator." There is no error number or details. I also tried to use the ReportExecution hyperlink type but it generates an invalid uri message.
How should content resources be referenced in a hyperlink?