open pdf in new tab

Hi Team,

 

Is it possible PDF file to open in another tab while  previewing the report in Jasper report server. Please provide some wise counsel on this.

 

Thanks 

Ramesh

ramesh06081982's picture
Joined: Dec 27 2011 - 2:48am
Last seen: 4 months 3 weeks ago

1 Answer:

Yes, but not in an automatic way - you'll need to add a link to your report output that will open the same report in another tab using the hyperlink component. Hozawa describes that 'open in a new tab' functionality here - 

https://community.jaspersoft.com/questions/912346/drill-down-detail-repo...

With this, you'd just have to click the link to see the report in another tab. The only way to do what you're proposing without that extra 'link' step would be to customize jasper server and build from source, which for this use case I wouldn't recommend. 

More info on hyperlink behavior is available in the official schema. Good luck!

https://jasperreports.sourceforge.net/schema.reference.html#hyperlinkAnc...

darth_fader's picture
Joined: Mar 7 2010 - 9:45pm
Last seen: 4 days 6 hours ago
Feedback
randomness