OLAP view in embed iframe

0

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: 6 years 3 weeks ago

2 Answers:

2

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: 1 year 2 months ago

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

leslierpotter - 6 years 4 weeks ago
1

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: 1 year 2 months ago
Feedback
randomness