简体   繁体   English

如何将带有常用用户凭据的 Spotfire 分析报告集成到 angular 应用程序中?

[英]how to integrate spotfire analyatic report with common user credentials into angular application?

We are currently trying to integrate spotfire with our angular application and we are stuck.我们目前正在尝试将 spotfire 与我们的 angular 应用程序集成,但我们被卡住了。

how to integrate spotfire analyatic report with common user credentials?如何将 spotfire 分析报告与常用用户凭据集成? We call the api with url and param and there are some options to show/hide menu etc.我们用 url 和参数调用 api,并且有一些选项可以显示/隐藏菜单等。

But I want this visualization to be seemless with my other contents of the page.但我希望这种可视化与页面的其他内容无关。 Users should not be asked to login to spotfire.不应要求用户登录到 spotfire。

How can we allow anonymous access and how can we hide the login button on top?我们如何允许匿名访问以及如何隐藏顶部的登录按钮?

The login button can be hidden from the customization parameters.登录按钮可以从自定义参数中隐藏。

var customizationInfo = { showAbout: false, showAnalysisInformationTool: 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 } var customizeInfo = { showAbout: false, showAnalysisInformationTool: false, showAuthor: false, showClose: false, showCustomizableHeader: false, showDodPanel: false, showExportFile: false, showExportVisualization: false, showFilterPanel: false, showHelp: false, showLogout: false, showPageNavigation:假,showReloadAnalysis:假,showStatusBar:假,showToolBar:假,showUndoRedo:假}

Believe it's logout.相信这是注销。

For the seamless no login experience you'll have to save you dxp in a library folder that has anonymous login access.为了获得无缝的无登录体验,您必须将 dxp 保存在具有匿名登录访问权限的库文件夹中。

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

Have you considered using https://www.npmjs.com/package/@tibco/spotfire-wrapper ?您是否考虑过使用https://www.npmjs.com/package/@tibco/spotfire-wrapper

This is a lib that eases the integration of Spotfire in an Angular App or even inside pure raw HTML like this这是一个库,可以简化 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>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在http标头中隐藏用户凭据-angular2应用 - how to hide user credentials in http headers - angular2 application 将用户的 Google 日历集成到 Angular 应用程序 - Integrate user's Google Calendar to Angular application 在Angular应用程序中存储用户凭据的位置? - Where to store the user credentials in an Angular application? 如何在Angular应用程序中集成OpenLayers和jsts? (输入) - How to integrate OpenLayers and jsts in an Angular Application? (with typing) 如何将 BigBlueButton 与 Angular7 应用程序集成? - How to integrate BigBlueButton with Angular7 application? 将聊天机器人与 angular 8 应用程序集成 - Integrate chatbot with angular 8 application 将Angular应用程序集成到saml - Integrate Angular application to saml 如何创建一个公共服务以将 jQuery 数据表集成到 angular 中的所有页面 - How to create a common service to integrate jQuery datatable for all pages in angular 如何集成 Angular 2 + Java Maven Web 应用程序 - how to integrate Angular 2 + Java Maven Web Application 如何使用 Bazel 将 Angular 应用程序集成到 Monorepo 中? - How to Integrate an Angular Application into a Monorepo with Bazel?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM