Showing Tableau Data in MVC view

て烟熏妆下的殇ゞ 提交于 2021-02-08 02:29:38

问题


I am new to Tableau and need some direction to resources that could help me understand and then ultimately implement the requests. I need to connect to the Tableau server, which has already been setup at our end. The reports are specific to a customer.

I need to display the data inside the MVC views. Logged in user belongs to a specific customer so Customer ID will tie the logged in user to the report for the data. What is the best way to query Tableau to get the data? Should i use jquery/json and directly connect to Tableau or via web api/controllers using some assembly? Do we have some thing like DBAmp (for SalesForce) which could simplify the process?

Another issue is Tableau authentication from the website. Should we create a virtual directory under a specific user since Tableau at our end uses Active Directory authentication? The website uses its own custom authentication.

Thanks.


回答1:


You can embed a Tableau server view in a web page of your choosing. The easiest way is to visit the Tableau server view you wish to use, hit the Share button and then follow the instructions. You can also pass some parameters, adjust the size etc. See the online documentation for embedding views.

If you want the Tableau view to interact with other parts of your web page, you can also use the JavaScript API to send commands to Tableau server, or get notified of events. http://onlinehelp.tableausoftware.com/current/server/en-us/help.htm#js_api.htm

Tableau has a feature to let a Tableau Server defer authentication to an external server, like a front end webserver or portal. Read about trusted authentication in the Tableau Server documentation and knowledge base articles.

In the last several years, Tableau Server has also added support for additional authentication methods, including SAML, Kerberos and Open ID. Trusted authentication today is mostly suited for visualizations that are embedded in some larger web page or application. If you are completely within a Windows corporate network, you can also use Windows single sign on to defer authentication to Active Directory.



来源:https://stackoverflow.com/questions/26103261/showing-tableau-data-in-mvc-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!