(本文档仅供参考)

问题

         因客户是通过第三方系统调用smartbi的,目前v8.5、v9.5版本中自助仪表盘是否支持集成?

解决方案

自助仪表盘目前支持通过openresource的方式在第三方中打开。暂不支持createresource的方式新建smartbi资源。如需调用新建自助仪表盘可通过如下方式:


方案1:

http://192.168.1.17:18500/smartbi/smartbix/?integrated=true&showheader=false&l=zh_CN&nodeid=DEFAULT_TREENODE#/dashboard

参考此文档通过url的方式新建,但是如果没有做单点登录的话,需要传递登录信息,由于此种方式是不允许传参的,因此若没有做登录的话,此方式不合适,需要用方案2或者方案3;

方案2:

通过login.jsp的方式,http://10.10.202.17:18550/smartbi/vision/login.jsp?user=admin&password=admin&surl=%2Fsmartbi%2Fsmartbix%2F%3Fintegrated%3Dtrue%26showheader%3Dfalse%26l%3Dzh_CN%26nodeid%3DDEFAULT_TREENODE%23%2Fdashboard

方案3:

通过post方式传递用户信息等然后跳转到 surl
<form action="http://10.10.202.17:18550/smartbi/vision/login.jsp" method="post">
<input type="text" name="user" value="admin" />
<input type="text" name="password" value="admin" />
<input type="text" name="surl" value="/smartbi/smartbix/?integrated=true&showheader=false&l=zh_CN&nodeid=DEFAULT_TREENODE#/dashboard" />
<input type="submit" />
</form>