despec Posted August 30, 2010 Share Posted August 30, 2010 Hello to all,I was wondering if it were possible in Ireport to set up a hyperlink that would immediately export your report to a PDF document, rather than just running the report? Thanks, David Link to comment Share on other sites More sharing options...
lingkongpiaoyi Posted August 31, 2010 Share Posted August 31, 2010 Of course, you can use jsp page to do it. Link to comment Share on other sites More sharing options...
despec Posted August 31, 2010 Author Share Posted August 31, 2010 Having absolutely no experience putting together a JSP page, would it be possible for you or anyone to provide a sample JSP that gives me an idea on how I should put mine together? DavidPost Edited by despec at 08/31/2010 20:25 Link to comment Share on other sites More sharing options...
despec Posted September 1, 2010 Author Share Posted September 1, 2010 For those that are interested, I found the answer to how you can send a report directly to a report format via a URL:.../flow.html?_flowId=viewReportFlow&reportUnit=<report_unit_URI>[&output=pdf|excel|rtf|csv]&<param_1>=<val_1>&<param_2>=<value_2>...An example would be:http://datawarehouse-dev.revol.com:8080/jasperserver-pro/flow.html?_flowId=viewReportFlow&reportUnit=repo%3A%2FRevol%2FDashboards%2FRoaming%2Freport_panels%2Fkey_financials_by_month_1_1&output=csv&day_month_year=01-AUG-10&for_market=All+Markets&viewAsDashboardFrame=true&_eventId_drillReport=&_flowExecutionKey=_c1C1D7352-0B57-C335-1B15-DE7769B9B1BD_kF3119034-7422-AB78-2494-622081D480AD&reportLocale=en_USHope this helps others as well...David 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