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

2 comments:

  1. how to integrate jasper report server in liferay portlet.Report Server full control in portal like uploading jrxml,adding datasource,report generation etc.

    ReplyDelete
  2. Hi i am not sure go through following links it may be helpful foe you, and also
    see pentaho lifetay and Aperte liferay intigration these are BI tools

    http://www.ochounos.com/#blog/8

    http://attune-infocom.blogspot.sg/2011/06/how-to-integrate-jasperserver-into.html

    https://code.google.com/p/aperte-reports/wiki/AperteReportsIntegration


    https://www.liferay.com/community/wiki/-/wiki/Main/Pentaho+Portlets

    ReplyDelete