Jump to content
Changes to the Jaspersoft community edition download ×

OLAP view in embed iframe


leslierpotter
Go to solution Solved by eduardoexplod,

Recommended Posts

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

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...