【问题标题】:Pentaho reportviewer URL not loading in iframePentaho reportviewer URL 未在 iframe 中加载
【发布时间】:2012-11-25 08:45:56
【问题描述】:

我是 pentaho 的新手。

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

我在 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,它会显示报告。不知道上面代码的问题。

听到的是我的 iframe 代码

<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 为空

Pentaho 服务器及其版本。

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

提前致谢。

【问题讨论】:

    标签: html pentaho


    【解决方案1】:

    这个老问题还没有回答,我也试图找到解决办法。

    其中一个解决方案是按照建议显示 html 版本的报告 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

    【讨论】:

      猜你喜欢
      • 2012-05-03
      • 1970-01-01
      • 2014-12-25
      • 2021-06-16
      • 2019-12-19
      • 2018-04-16
      • 1970-01-01
      • 1970-01-01
      • 2012-09-19
      相关资源
      最近更新 更多