Tuesday, November 20, 2012

Liferay Jasper Reports Example


Steps to run plug-in portlet
1)      Get The Portlet from following location.
2)      Place into your plugin directory of your running portal.
3)      Run ant deploy command.
4)      Open your portal on your browser,Add portler your page.
5)      Browse QueryReport.jrxml   file(This will be available in your dowloded rar file).
6)      Click on get reports. Then you can see the downloaded PDF(This data getting from Liferay User_ table).

Note: In QueryReport.jrxml    I hard coded the one URL according to my local port.please change port number that you have.
<template>"http://www.localhost.com:8080/Jasperexampleportlet/html/reports/ReportStyles.jrtx"</tmplate> 

0 comments :

Post a Comment

Recent Posts

Recent Posts Widget

Popular Posts