如何将spotfire分析报告与常见用户凭据集成到angular应用程序中



我们目前正在尝试将spotfire与我们的angular应用程序集成,但我们陷入了困境。

如何将spotfire分析报告与通用用户凭据集成?我们用url和param调用api,有一些选项可以显示/隐藏菜单等。

但我希望这个可视化与页面的其他内容看起来毫无区别。不应要求用户登录spotfire。

我们如何允许匿名访问,如何隐藏顶部的登录按钮?

您是否考虑过使用https://www.npmjs.com/package/@tibco/spotfire包装?

这是一个库,可以简化Spotfire在Angular应用程序中的集成,甚至在像这样的纯原始HTML中的集成

<spotfire-viewer
url="https://spotfire-next.cloud.tibco.com"
path="Samples/Introduction to Spotfire" 
page="Example dashboard" 
</spotfire-viewer>
<script src="https://github.com/TIBCOSoftware/spotfire-wrapper/blob/master/dist/spotfire-wrapper.js" ></script>

登录按钮可以从自定义参数中隐藏。

var customizationInfo={showAbout:false,showAnalysisInformation工具:false,showAuthor:false,showClose:false,showCustomizableHeader:false,showDodPanel:false,showExportFile:false,showExportVisualization:false,showFilterPanel:false,showHelp:false,showLogout:false,showPageNavigation:false,showReloadAnalysis:false,showStatusBar:false,showToolBar:false,showUndoRedo:false}

相信这是注销。

为了获得无缝的无登录体验,您必须将dxp保存在具有匿名登录访问权限的库文件夹中。

自定义-显示/隐藏UI组件https://community.tibco.com/wiki/tibco-spotfire-javascript-api-overview

最新更新