Pentaho reportviewer URL未在iframe中加载 [英] Pentaho reportviewer URL not loading in iframe

查看:45
本文介绍了Pentaho reportviewer URL未在iframe中加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是pentaho的新手.

Am new to pentaho.

我尝试在iframe中使用pentaho reportviewer显示报告,我使用 .prpt 文件加载报告.

I try to display the report using pentaho reportviewer in iframe i use .prpt file to load the report.

我在iframe中使用了以下网址

I used the following url in iframe

http://172.20.10.30:8080/pentaho/content/reporting/reportviewer/report.html?solution=steel-wheels&path=%2Freports&name=Inventory.prpt&userid=joe&password=password

如果我在浏览器中调用上述URL,它将显示报告.我不知道上面代码中的问题.

If i invoke the above URL in the browser it display the report. I don't know the problem in the above code.

听到是我的iframe代码

Hear is my Iframe code

<html>
        <head>
            <title>Sensatron Issue Testing</title>
        </head>
        <body>
            <p><strong></strong><b> Sensatron Issue Testing.</b></p>
            <iframe width="1300px" height="750px" src="http://172.20.10.30:8080/pentaho/content/reporting/reportviewer/report.html?solution=steel-wheels&path=%2Freports&name=Inventory.prpt&userid=joe&password=password" name="Bharat" >
            </iframe><br>
        <br>
    </body>
</html>

结果:iframe为空

Result: iframe empty

Pentaho Server及其版本.

Pentaho Server and its version.

我使用pentaho BIserver4.5使用.prpt文件生成报告

I use pentaho BIserver4.5 to generate report using .prpt file

谢谢.

推荐答案

这个老问题尚未得到解答,我也试图找到解决方法.

This old question hasn't been answered yet and I also tried to find a solution.

一种解决方案是按照的建议显示报告的html版本 http://pentahoreportingandintegration.blogspot.com/2013/04/pentaho-report-integration-in-iframe.html

One of solution is show html version of report as suggested in http://pentahoreportingandintegration.blogspot.com/2013/04/pentaho-report-integration-in-iframe.html

但是我相信更好的解决方案是我的.我在博客中解释了: http://fabiantowang.blogspot.com/2013/07/embed-pentaho-report-viewer-to-web.html

But I believe the better solution is mine. I explained in my blog: http://fabiantowang.blogspot.com/2013/07/embed-pentaho-report-viewer-to-web.html

这篇关于Pentaho reportviewer URL未在iframe中加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆