2

ペンタホは初めてです。

iframeでpentahoreportviewerを使用してレポートを表示しようとしていますが、.prptファイルを使用してレポートをロードしています。

iframeで次のURLを使用しました

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サーバーとそのバージョン。

私はpentahoBIserver4.5を使用して、.prptファイルを使用してレポートを生成します

前もって感謝します。

4

1 に答える 1

3

この古い質問にはまだ答えがなく、私も解決策を見つけようとしました。

解決策の1つは、 http://pentahoreportingandintegration.blogspot.com/2013/04/pentaho-report-integration-in-iframe.htmlで提案されているレポートのhtmlバージョンを表示することです 。

しかし、私はより良い解決策は私のものだと信じています。私は自分のブログで説明しました:http: //fabiantowang.blogspot.com/2013/07/embed-pentaho-report-viewer-to-web.html

于 2013-07-23T08:12:03.090 に答える