gpt4 book ai didi

tableau-api - 使用身份验证嵌入 Tableau

转载 作者:行者123 更新时间:2023-12-01 22:26:30 25 4
gpt4 key购买 nike

我需要将表格报告嵌入到另一个网页中。我们正在使用 tableau JS:

http://onlinehelp.tableau.com/current/server/en-us/embed_code.htm

问题是:是否存在身份验证选项,我们的应用程序(网页)可以通过该选项将身份验证凭据传递给 Tableau,以便用户无需输入凭据?

谢谢!

最佳答案

您可能正在寻找可信身份验证,如 here: 所述

When you embed Tableau Server views into webpages, everyone who visits the page must be a licensed user on Tableau Server. When users visit the page they are prompted to sign in to Tableau Server before they can see the view. If you already have a way of authenticating users on the webpage or within your web application, you can avoid this prompt and save your users from having to sign in twice by setting up trusted authentication.



also an example showing how to use it :

If you are working with Tableau Server, and if the server is configured to use trusted authentication, specify the ticket in the URL by first adding trusted after the server name, followed by the ticket. For example:


var placeholderDiv = document.getElementById("tableauViz");
var url = "http://tabserver/trusted/Etdpsm_Ew6rJY-9kRrALjauU/views/workbookname/viewname";

var options = {
hideTabs: true,
width: "800px",
height: "700px"
};

var viz = new tableau.Viz(placeholderDiv, url, options);

关于tableau-api - 使用身份验证嵌入 Tableau,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42722042/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com