tableau / embedding-api-v3-guide

migration guide for moving to embedding api v3
MIT License
27 stars 9 forks source link

Feedback for Tableau Embedding API Team based on Tableau Server 2022.3 Release today #43

Closed hackwithharsha closed 1 year ago

hackwithharsha commented 1 year ago

Feedback 1 :

In the following web page, we are rendering two visualizations.. Initially, It will render both the visualizations when our web server is up and serving tokens.. However, when our web server is down and failed to send token on web page refresh, there is no token and the first visualization will throw an error like 10084 which is perfectly fine and then second visualization is rendering using previous session cookies that were stored earlier… I think, you might have clear cookies or session tokens on page refresh. As there is no way to control cookies in Javascript for an Iframe as far as I know.

Check following screenshot.. Happy to connect and provide more information on this if required. It would be great, if you could release a some patch fix in Tableau Embedding API.

Feedback_1

Feedback 2:

There should be some kind of event or hook to get the HTTP status code of API request that TableauViz component is sending.. currently, There is no way to get this information due to cross-origin policy of iFrame. As you already have ‘firstinteractive’ hook. Is it possible to add some event to get this status code information ?

Feedback 3 :

It’s okay for developers to see these black screens with error code. But, our customers or users don’t know what they mean.. Either you could provide some fallback component or HTML element or implement feedback 2.. so, developers can handle these error messages differently based on HTTP Status Code.

Feedback 4 :

We are using only single token to render both the visualizations. Sometimes, one of the visualization will throw “Sign in to Tableau Server”.. If it’s token issue, It should throw for both the visualizations right ? as it is a single session. This is an intermittent issue happen once in a while. Don’t know why it happens. Same here also, I want my customers or users to see this “Sign in to Tableau Server”… I would handle it differently if we would have “Feedback 2” implemented.

Feedback_2

Please consider this feedback.. Let me know, If there is anything I can provide here.

It would be really great,, If you could fix or provide some solutions to all these issues and release a patch version of Tableau Embedding API sooner..

hackwithharsha commented 1 year ago

@illonage Closing this issue and created separate issues.