haripoturi Posted June 18, 2012 Share Posted June 18, 2012 Hi,I have created some reports and deployed in jasper server. I am able to embed the reports in my web application using <iframe> tag. But it shows the menu bar and logout link. I don't want to show the menu bar to end user. I want to show only the report.Attached the screen print of the application.Can anybody help me how to achieve the same?Thanks in advance. Link to comment Share on other sites More sharing options...
swatisinghal Posted June 18, 2012 Share Posted June 18, 2012 Hi,Are you using REST API to call the Jasperserver? Link to comment Share on other sites More sharing options...
haripoturi Posted June 19, 2012 Author Share Posted June 19, 2012 I have gien the path in src attribute of IFRAME. <iframe src="http://10.98.10.43:8081/jasperserver-pro/flow.html?j_username=superuser&j_password=superuser&_flowId=dashboardRuntimeFlow&dashboardResource=%2Forganizations%2FInfoStep%2FDashboards%2FDashboardA4" height="500px" width="1000px"> <p>Your browser does not support iframes.</p> </iframe>Do you have any idea of how to use REST API? If so could you please help me how to do that? Link to comment Share on other sites More sharing options...
brooneyx1 Posted June 19, 2012 Share Posted June 19, 2012 You need to add a URL parameter to change the theme &theme=embed for instance and you would also need to install the theme so it can be used. I got the attached embed.zip file from jaspersoft as an example so I included it here for you. There may be some other way of doing this, but this is how I was going about it. I think using the REST API may be a better solution,getting the theme right and making it look like the app we embedded in was a pain so we stopped that approach and did not embed it. <iframe marginwidth="0" marginheight="0" hspace="0" vspace="0" align="middle" frameborder="0" height="700" scrolling="no" width="100%" src=" echo $username ?>&j_password=<?php echo $password ?>"></iframe> Link to comment Share on other sites More sharing options...
swatisinghal Posted June 19, 2012 Share Posted June 19, 2012 Do you know how to pass parameters or rather even prompt for parameters dynamically in a web application using REST API Calls? Link to comment Share on other sites More sharing options...
jamessinton Posted October 4, 2012 Share Posted October 4, 2012 Do you know where the embed.zip can be downloaded from? It looks like the attachments may have been removed. Link to comment Share on other sites More sharing options...
shwapd Posted October 16, 2012 Share Posted October 16, 2012 I am also looking for the same. Is there anyways to get the embed.zip theme Link to comment Share on other sites More sharing options...
kapil.mulchandani Posted July 12, 2017 Share Posted July 12, 2017 In the SRC URL of the Iframe puthttp://localhost:8082/jasperserver-pro/flow.html?_flowId=viewReportFlow&_flowId=viewReportFlow&ParentFolderUri=%2Fpublic%2FSamples%2FReports&reportUnit=%2Fpublic%2FSamples%2FReports%2FRevenueDetailReport&standAlone=true&decorate=no&viewAsDashboardFrame=true&output=htmlThis will show only the report(not the logout links and toolbar) and in a HTML output. 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