Phantom JS is additional library need to be added in the Jasper server to export the report with HTML5 charts in different formats like PDF, Excel etc.. Without this library we cannot the export the reports which are containing HTML5 charts, if we export the report then it will throw an error. To fix the issue we need to the phantom js application in the Jasper server configuration file.
Make data easy with Helical Insight.
Helical Insight is the world’s best open source business intelligence tool.
Follow the below steps to add this in Jasper server
1. Download the PhantomJS zip fileusing the below link
Download: https://phantomjs.org/download.html
2. Extract the zip and place the folder inside Jasper server installed folder
Location:
3. Get the path of the phantomjs.exe file location. Go to phantomjs -> bin folder.
Copy the path:
4. Open the jasperreports.properties file from the below location
File Location:
5. Add below property at the bottom of the file
net.sf.jasperreports.phantomjs.executable.path=
https://localhost:8443/jasperserver-pro
6. Restart the Jasper server
7. Login to the jasper server
8. Run a report which contains HTML5 charts and export the report into PDF
9. Now we can see the report exported into PDF format
Thank You
Ramu
Best Open Source Business Intelligence Software Helical Insight is Here