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> 
Share on Google Plus

About Meera Prince

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment