leslierpotter Posted October 23, 2013 Share Posted October 23, 2013 Hi all.I’m trying to embed and OLAP view in an external application with an iframe. How can I do that? Whit this code I’m getting “Page not found”<iframe height="1000" width="1100" src="http://localhost:8080/jasperserver/viewOlap.html?name=/analysis/views/Foodmart_sample&j_username=jasperadmin&j_password=jasperadmin&viewAsDashboardFrame=true"></iframe>[/code] Link to comment Share on other sites More sharing options...
Solution eduardoexplod Posted October 23, 2013 Solution Share Posted October 23, 2013 Prueba con lo siguiente:<!DOCTYPE html><html lang="es"> <head> <meta charset="utf-8" /> <title>Good</title> </head> <body> <iframe height="1000" width="1100" src="http://localhost:8080/jasperserver/olap/viewOlap.html?name=/analysis/views/Foodmart_sample&new=true&parentFlow=searchFlow&ParentFolderUri=/analysis/views&j_username=jasperadmin&j_password=jasperadmin"> </iframe> </body></html>[/code]Saludos Link to comment Share on other sites More sharing options...
leslierpotter Posted October 23, 2013 Author Share Posted October 23, 2013 Funcionó! Sabras como puedo remover la interfaz del Jasper Server dejando solo el reporte? Link to comment Share on other sites More sharing options...
eduardoexplod Posted October 24, 2013 Share Posted October 24, 2013 Fácil, para quitar la botonera de la parte superior agrega el siguiente parametro a la url: decorate=no..<!DOCTYPE html><html lang="es"> <head> <meta charset="utf-8" /> <title>Good</title> </head> <body> <iframe height="1000" width="1100" src="http://localhost:8080/jasperserver/olap/viewOlap.html?name=/analysis/views/Foodmart_sample&new=true&parentFlow=searchFlow&ParentFolderUri=/analysis/views&j_username=jasperadmin&j_password=jasperadmin&decorate=no"> </iframe> </body></html>..[/code] 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