0
使用Web播放器JavaScript API时,我无法获得要应用于Spotfire 7.0 Web播放器的.Customization属性。
当我在Spotfire 6.0 Web Player中使用相同的html脚本时,隐藏工具栏和隐藏状态栏的自定义设置按预期消失(请参见下文)。Spotfire 7.0 Web Player Javascript API自定义问题
任何建议,将不胜感激。
ps。我注意到参数配置块'SetPage(pageIndex = 2)'的.open参数''也无法在我的7.0网络播放器中应用,但在6.0上工作。
<!DOCTYPE html>
<html>
<head>
<title>Dashboard</title>
<script type="text/javascript" src="./GetJavaScriptApi.ashx?Version=6.0"></script>
<script type="text/javascript">
window.onload = function()
{
var wpCustomization = new spotfire.webPlayer.Customization();
wpCustomization.showToolBar = false;
wpCustomization.showStatusBar = false;
webPlayer1 = new spotfire.webPlayer.Application("http://spf2/spotfireweb/", wpCustomization);
webPlayer1.open('/Information Model/Analyses/Operations/Operations Management Dashboard/Dashboard Mockup','Dashboard','SetPage(pageIndex = 2);');
}
</script>
</head>
<body >
<div id="Dashboard" ></div>
</body>
</html>
我添加HF-003得到的修补程序和安装说明和它的作品大加赞赏 – user2487784