问题描述
我在我所嵌入的画面与报告可信认证的ASP.NET应用程序。这些报告在所有浏览器,笔记本电脑和台式机的工作只是罚款。但在iPhone或iPad,每当我试图打开它,我什么也没有。
我寻觅了很多,并试图所有的可能性。我有嵌入= YES
参数,但它只是没有显示出来。这是我的JavaScript。在标签我有,看起来像这样的URL(这只是一个例子):
https://online.tableau.com/t/Sales/views/test/test:嵌入= YES
我使用Javascript来找到 DIV
与 ID =即
并显示报告。
我能做些什么使它工作?
函数调用()
{
无功即;
变种vizDivID =的document.getElementById('即');
变种LBL =的document.getElementById('URLLabel');
VAR URL =(lbl.innerHTML); 即=新tableauSoftware.Viz(vizDivId,URL);
请参考这个问题的答案
X-Frame选项设置为允许,但野生动物园表演拒绝显示
如果在此情况下,将不会为你工作,你可以参考这篇文章
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);
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
这篇关于画面在报告iPhone和iPad不显示在asp.net应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!