shareertm Posted November 18, 2015 Share Posted November 18, 2015 I am currently working on web application based on Angular JS,HTML5. I have a report section on the same where i am displaying the report data through API calls.I feel that displaying reports through API call is not the best practice so i did some research and came across TIBCO Jasper reports and its looking fine till now.What i have done till now is Installed Jaspersoft Studio in my local machine. Connected the same to my DB and generated JRXML file. Uploaded the JRXML file to jasper server and generated reports from DB.What i need to do is I see i can generate reports in various formats from jasper server like pdf, excel etc.. How do i integrate this to my web page?Please assist me on this and share your thoughts. Thanks in advance. Link to comment Share on other sites More sharing options...
Solution plambert_1 Posted November 18, 2015 Solution Share Posted November 18, 2015 What you do want to do is not clear. Are you using Community version?- If you want to display the report visualizer as with jasperserver you will need to use HTTP APIs ie. Iframes- If you want to be able to generate documents with the choice of the format use rest_v2/reports/<path_to_report>.<format>Thanks to rest APIs you can generate reports easily and put it into your web page and handle your logic.- if you are using professional version you could also use visualize.js Link to comment Share on other sites More sharing options...
shareertm Posted November 19, 2015 Author Share Posted November 19, 2015 Yes. I am using the community version and i just want to display the report i have generated in jasper server in my web page. can you explain the steps to implement this?Thank you Link to comment Share on other sites More sharing options...
plambert_1 Posted November 19, 2015 Share Posted November 19, 2015 Please consider http://community.jaspersoft.com/documentation/jasperreports-server-web-services-guide/v550/running-report for further information Link to comment Share on other sites More sharing options...
jclarke_1 Posted November 23, 2015 Share Posted November 23, 2015 We have integrated Jasper into our AngularJs app by integrating the Visualize.js library. I posted a scaled-down version of the code here: http://community.jaspersoft.com//questions/847542/angularjs-visualizejs Hope that helps!Edited to add: we are using the professional version Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now