theodan Posted December 31, 2009 Share Posted December 31, 2009 In JS 2.1, we used a URL like this:http://<server>/jasperaccess/generateReport?uri=/reports/myReport1&myParam1=foo&format=htmlto execute a report via HTTP. The output would be formatted as HTML and would be "standalone", meaning without the JasperSoft header, Home/Logout bar, etc.In JS 3.5, we use a URL like this:http://<server>/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/myReport1&myParam1=foo&output=htmlbut we get stuck with the JasperSoft header, Home/Logout bar, etc., in the output. What's more, this only happens when output=html.Is there any way in JS 3.5 to suppress the JasperServer decorations and get the same "standalone" HTML output we were getting in JS 2.1?Thanks,-DanPost Edited by theodan at 12/31/2009 22:01 Link to comment Share on other sites More sharing options...
lucianc Posted January 5, 2010 Share Posted January 5, 2010 Try to add &decorate=no to the URL.Regards,LucianPost Edited by lucianc at 01/05/2010 17:35 Link to comment Share on other sites More sharing options...
theodan Posted January 5, 2010 Author Share Posted January 5, 2010 Thanks, Lucian.That works for the most part, except it still leaves the "Report Options" image and the five "Export to xxx" images in the upper left. Is there any way to suppress those as well?We have our own front-end which already has input controls and options for the output format.Thanks again,-Dan Link to comment Share on other sites More sharing options...
lucianc Posted January 6, 2010 Share Posted January 6, 2010 Afaik there's no built-in feature for that. But you can customize the reportView flow and DefaultJasperViewer.jsp to hide the icons depending on a request parameter.Regards,Lucian Link to comment Share on other sites More sharing options...
rpoillot Posted October 26, 2011 Share Posted October 26, 2011 Could you please explain in detail how to achieve this, please? We're using JS 4.1. Thanks in advance! 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