问题
I have an ASP.NET application in which I have embedded tableau reports with trusted authentication. These reports work just fine in all browsers, laptop and desktop. But on an iPhone or iPad whenever I am trying to open it, I get nothing.
I have searched a lot and tried all possibilities. I have embed=yes
parameter but it's just not showing up. Here is my Javascript. In the label I am having a URL that looks like this (this is just an example):
https://online.tableau.com/t/Sales/views/test/test ?:embed=yes
I am use Javascript to find the div
with id=viz
and show report.
What can I do to make it work?
function call()
{
var viz;
var vizDivID = document.getElementById('viz');
var lbl = document.getElementById('URLLabel');
var URL = (lbl.innerHTML);
viz = new tableauSoftware.Viz(vizDivId, URL);
回答1:
Please refer this question for an answer
X-Frame Option is set to allow but safari shows Refuse to display
If in case this will not work for you, you can refer to this post
https://community.tableau.com/thread/196157
来源:https://stackoverflow.com/questions/35303859/tableau-reports-not-showing-in-iphone-and-ipad-in-asp-net-application