Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/436.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何使用POST方法调用Pentaho中的另一个仪表板_Javascript_Url_Post_Business Intelligence_Pentaho Cde - Fatal编程技术网

Javascript 如何使用POST方法调用Pentaho中的另一个仪表板

Javascript 如何使用POST方法调用Pentaho中的另一个仪表板,javascript,url,post,business-intelligence,pentaho-cde,Javascript,Url,Post,Business Intelligence,Pentaho Cde,我正在使用开源Pentaho CDE作为我项目的BI工具。在我的仪表板中,我使用一些年度数据来表示图表。我还需要向下钻取功能,以便在另一个仪表板中了解特定年份的数据 如果我在条形图中单击2008年,意味着我必须生成另一个包含该年信息的仪表板 function sendParameter(scene){ var url="http://localhost:8080/pentaho/api/repos/%3Ahome%3Atiffany%3ADashboardWithAdventure

我正在使用开源Pentaho CDE作为我项目的BI工具。在我的仪表板中,我使用一些年度数据来表示图表。我还需要向下钻取功能,以便在另一个仪表板中了解特定年份的数据

如果我在条形图中单击2008年,意味着我必须生成另一个包含该年信息的仪表板

function sendParameter(scene){
       var url="http://localhost:8080/pentaho/api/repos/%3Ahome%3Atiffany%3ADashboardWithAdventuresDBDrilDown2.wcdf/generatedContent";

       var vars = scene.vars;
       var c = vars.category.value;
       var v = vars.value.value;

       window.location=url+"?param_custom_state="+c;
} 
浏览器中的URL类似于:

http://localhost:8080/pentaho/api/repos/%3Ahome%3Atiffany%3ADashboardWithAdventuresDBDrilDown2.wcdf/generatedContent?param_custom_state=2007
我使用此脚本从当前仪表板调用另一个仪表板。但是它是以Get方法的形式出现的。我不想在URL中显示参数


我怎样才能做到这一点。由于您只需要隐藏url的参数,因此可以使用iframe或ajax请求,而不是直接调用url位置,是否有其他方法使用Pentaho CDE中的Javascript进行深入查看

类似的问题也被贴了出来

希望有帮助:)