OLAP view in embed iframe

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>

leslierpotter's picture
Joined: Oct 18 2013 - 12:22pm
Last seen: 9 years 5 months ago

2 Answers:

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: 
AttachmentSize
HTML icon ejemplo.html410 bytes
eduardoexplod's picture
Joined: Oct 16 2013 - 1:29pm
Last seen: 4 years 7 months ago

Funcionó! Sabras como puedo remover la interfaz del Jasper Server dejando solo el reporte?

leslierpotter - 9 years 5 months ago

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>..

eduardoexplod's picture
Joined: Oct 16 2013 - 1:29pm
Last seen: 4 years 7 months ago
Feedback