Skip to main content
Gruppo in evidenza

Embedded Analytics

The Embedded Analytics Tableau User Group (EATUG) was established to help improve collaboration between companies with interest in embedding Tableau into their external-facing solutions and portals.

Hi, New to Tableau here. Could anyone help me with resource on how to embed dashboard on Salesforce experience site. We got Tableau Embedded analytics. 

 

Thanks in advance

2 risposte

Hey,

to our webpage, I would like to embed one dashboard, which could be seen to all of our page visitors.

I would like just to mention that this data is not for the whole online public, but only for users that have access to our portal.

I embed in the way, that I click Share --> Copy Embed Code (as seen here https://tppr.me/b3VDT)

The main problem is if anyone wants to see the dashboard needs to log-in to the Tableau.

How can I show dashboards to the users/visitors without logging in to the tableau?

I use tableau Online

It will very help me - thanks a lot for your help!

3 risposte
  1. 16 nov 2021, 14:49

    @Matic Hribar​ - Online doesn't allow non-authenticated access. You have to sign-in to see the content.

    You'll need to investigate single sign-on options. https://help.tableau.com/current/online/en-us/security_auth.htm

    We manage our own clusters, but the process is similar. We use SAML to federate identity management. The users only sign into our application with no need to authenticate to Tableau.

When doing the same action with the same user using a local Tableau session it works fine.

I followed the network calls doing the described steps, and the failed case stops at a call to getFieldValues going directly to the Tableau server. All the authentication headers are correctly attached as expected, but it returns 401 and clears the session cookie for no reason that I can discern. The implementation of this on the Tableau server is not available, and I can’t find any documentation about this exact case in the Tableau documentation or the community.

 

Here, is the error message:

 

Error: Your session timed out. Reopen the dialog to connect.

 

Has anyone here faced similar issue with the tableau implementation? Is there any reason this is occurring other than a bug in the tableau? Please let me know. If you have faced similar issue or have links to documentation I can follow. Thank you.

4 risposte
  1. 3 dic 2020, 17:18

    The proxy configuration was my best guess based on the information.

     

    You'll probably need to see if Support can help. Unfortunately, they can't/won't help with your code. They can review logs and see if they notice any problems there.

The ability to create a Custom View saving your filters is really powerful, however we don't want users to be able to select the "Make it public" option.  Is there a way to disable this?

 

We want user to only be able to create Private views

 

Having this available creates a couple of problems in a scenario where we have users from multiple competing organisations accessing the same dashboard (obviously filtered for their organisations data);

1. They can put something sensitive like a company name in the view name

2. The name of the person who saved the view is visible to everyone else

 

Controlling access to

 

I've had a look through the forums and can't find anything relating to this so any help appreciated.  As soon as I include "Public" in any search term, the search engines think I am looking for Tableau Public, but this relates to Tableau Server

2 risposte
  1. 17 apr 2019, 14:23

    Mark,

     

    Access to create public views is controlled at the content level. It's also all or nothing. You can't make something visible to a specific group. That's the part that I'd like to see.

     

    To control it, you set permission in Interact/Edit (here it has been deselected):

    Mark, Access to create public views is controlled at the content level. It's also all or nothing. You can't make something visible to a specific group. That's the part that I'd like to see.

     

    That makes the share custom view option unavailable:

    Screen+Shot+2019-04-17+at+09.08.30.png

     

    PS - If you attended the last virtual meeting, we covered sites vs. projects as approaches to building an embedded system. Separation of information like this is one of the many reasons that I chose sites for our implementation.

Hi,

 

I want to embed tableau dashboards into IBM OpenPages application which is developed in java/angular js.

I can't find any helpful documentation on how to embed tableau dashboards in java/angular js application

Does anyone know about embedding tableau dashboard in java/angular js application?

Thanks in advance.

2 risposte
  1. 7 giu 2021, 13:03

    If your development team is fluent in angular, then I would recommend using the javascript API. This gives you the most amount of flexibility and control with embedded tableau vizs.

     

    Relatively easy to, but depending on how your tableau environment (inhouse or on-prem/online/embedded) is configured and set up you may need to spend a little bit of time with security integration.

     

    https://help.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api.htm

    The tutorial is a great way to see some of the most common features.

I have created 4 Dashboards using same data source. These dashboards will be accessible to different users like below:

Dashboard1->Only Team1 members can access this dashboard

Dashboard2->Only Team2 members can access this dashboard

Dashboard3->Only Team3 members can access this dashboard

Dashboard4->Only Team4 members can access this dashboard

I have achieved this using tableau server and creating 4 different groups for each dashboard.

If any particular user logins to tableau server according to his/her team that user will see only 1 dashboard.

Now I want to achieve the same using Tableau embedded analytics.

I have another web application and want to embed these dashboards into it. Embedding is done. But all dashboards are accessible to all users. I just want to have only 1 dashboard present at any time depending upon the user which has logged into the application.

How can we do this?

4 risposte
  1. 24 mag 2021, 21:20

    There is nothing specific in the API. Authentication is outside the scope.

     

    We manage the authentication in our application, so we always know the user. We then use trusted auth to access the Tableau Server.

In testing the upgrade to 2018.3 (just installed latest version 2018.3.2), we have hit a problem with data sources that are extracts using with both pre- and post- extract filters.

 

They are failing with this error:

com.tableausoftware.nativeapi.exceptions.DataSourceException: Cannot evaluate user filter; no current user or group.

Unable to properly calculate the domain for the field 'RecordStatus'. Displayed data may be incorrect. Unable to create extract

 

Data Sources that do not have a user filter are refreshing ok.

 

We originally thought this is due to the changes with RLS supporting multiple table extracts:

https://onlinehelp.tableau.com/current/pro/desktop/en-us/publish_userfilters.htm#rls-extract-req

 

However on further investigation, the "user filter" was a red herring as it was the pre-extract filter causing the problem.  This was a filter on a measure called "RecordStatus", but the error occurred if I added a filter on any measure.

The error would only occur when the Refresh Extract was executed on the server and not in Desktop.  Both Server and Desktop are on 2018.3.2.

 

I have been able to workaround the problem by creating a calculated field referencing the measure and filtering on the calculated field instead.  I don't understand why this is a problem and why it has only started happening in 2018.3 and was not a problem in 2018.1.

 

Any thoughts would be appreciated

 

Many thanks

6 risposte
  1. 27 mar 2019, 11:12

    The problem was not actually down to the user filter at all in the end - it was caused by the cached extract not containing all columns, so removing the local extract and recreating resolved the issue

It was great to see everyone at the in person TUG at TC this year. Is there a post here for any upcoming TUGs? Don't want to miss the next.

1 risposta
  1. 10 gen 2019, 22:34

    Ross,

     

    I'm glad you found the session at TC to be useful. I always find it to be one of the best learning opportunities of the year.

     

    We're finalizing the meeting details now. Tentatively looking at the first week of February and waiting on confirmation of availability of the webinar resources. We'll publish the details here once they are finalized.

     

    Looking forward to talking with everyone soon,

     

    Jeff

We are about to start looking at upgrading from 2018.1 to 2018.3.

 

We have already gone through the migration to Hyper as we use data extracts for our data sources

 

Is there anything to look out for with this upgrade when we are embedding the dashboards via the REST API in our application?  I'm just trying to assess the risk of this upgrade

2 risposte
  1. 4 dic 2018, 15:18

    We're still in the eval stage too.

     

    The biggest issue will be changing your admin scripts and tools to use TSM instead of tabadmin. Most of it works similarly, but not exactly the same.

    - HA is changed because there is no primary server. The initial is similar, but more flexible

    - Backups are expected to be written to a specific folder, but can be configured

    - VizQL and Backgrounder processes can be add/removed in up time

    ...

     

    Overall, it will be a significant improvement in manageability, but there is some work in the meantime.

Hello Embedded Analytics Group,

Forwarding this post to provide more visibility. Thank you for any help!