【发布时间】:2013-12-21 01:22:39
【问题描述】:
我在这个报告中创建了一个 CDE 参数报告我想通过 url 传递参数我的 CDE 报告链接如下
http://localhost:8080/pentaho/content/pentaho-cdf-dd/Render?solution=demo&path=&file=pass_parameter.wcdf&userid=joe&password=password
我的 cda 查询网址如下
http://localhost:8080/pentaho/content/cda/doQuery?path=demo/pass_parameter.cda&dataAccessId=jdbc¶mdeviceType=deviceType
在上面的 cda 查询 url 中,如果我传递 deviceType 如下
http://localhost:8080/pentaho/content/cda/doQuery?path=demo/pass_parameter.cda&dataAccessId=jdbc¶mdeviceType=Linux
它在浏览器中显示了一个 json 格式的输出。所以我在我的 jsp 页面上的 iframe 中使用了 CDE 报告,并且我通过了第一个 url。我想在我的第一个网址中传递 deviceType 参数,例如
http://localhost:8080/pentaho/content/pentaho-cdf-dd/Render?solution=demo&path=&file=pass_parameter.wcdf&userid=joe&password=password&deviceType=Linux
但它不显示任何输出,我如何通过url传递参数?
【问题讨论】:
-
你能给我链接如何从头开始
标签: pentaho pentaho-cde