Jaspersoft BI Tools

iReport,Jaspersoft Design Studio,Jaspersoft Server, Schema Workbench,Analysis,Dashboards, Self Service BI, Domains,Topics,Ad-Hoc Reports, Jaspersoft ETL, Embedding BI,HTML-5 charts, Fusion Charts,JFree Charts,Drill down reports , Drill down Dashboards,Visualize.js, Performance Tuning, D3 Charts, Jaspersoft Customization

Tuesday, April 19, 2016

Re-blogging Hyperlink Java Script Popup(Works as tooltip for report elements) functionality in Jasperserver (supports from 5.6 or later)

Hi ,

This post is a re-blogging on how to get data in a pop-up like tool tip when clicking on a text field or image field or a graph slice or bar.

Here is the actual reference for the example :
http://community.jaspersoft.com/blog/executing-javascript-functions-jasperreports-within-jasperreports-server

Example Environment : 
TIBCOJapsersoft Design Studio Professional 6.1
Japser Server 6.2 Professional
PostgreSQL database.

Example explained in below PPT - Visit download section in this page.

Sample Screenshots : 

Image-1 : Sample Code to come in PopUp:
(Please click on images for best view of content available on it)

 Image-2 : Sample output : Perform click action on customer_id=6 field as shown below
(Please click on images for best view of content available on it)
 Image-3 : Sample output : Perform click action on customer_id=2 field as shown below
(Please click on images for best view of content available on it)

Download :
1) Presentation 
2) JRXML
3) Report zip extract from Server
4) Original source code
5) source js file.

Click me to download 

Direct link : 
https://drive.google.com/folderview?id=0BymV_QP4TGBEWEZwYk9aYUxLQjg&usp=sharing

I hope this re-blog helps someone in the community..!

Regards,
Sadakar Pochampalli