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>
2 Answers:
Posted on October 23, 2013 at 2:13pm
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>
Saludos
Attachments:
Attachment | Size |
---|---|
![]() | 410 bytes |
Posted on October 24, 2013 at 3:27pm
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>..
Funcionó! Sabras como puedo remover la interfaz del Jasper Server dejando solo el reporte?