I frame url not displaying

-1
Hi,   I want to embedd tablue url in Iframe widget,I have done alll the steps,but when I Am running the page its giving me this message in console. Refused to display 'https://public.tableau.com/profile/texty#!/vizhome/2016_177/2016' in a frame because it set 'X-Frame-Options' to 'sameorigin'.   How to fixed it?
asked
4 answers
1

After a quick search on google and i found the following:

 

http://kb.tableau.com/articles/howto/embedding-tableau-public-views-in-iframes

 

Looks like you are missing some parameters in your url. Follow this guide and it should work fine in Mendix.

 

As Erwin said, X-Frame-Options have to be set at the source, which is tableau. Not Mendix.

answered
0

The X-Frame-Options has been set on the page you want to display to prevent this page to be displayed in your app's iframe. So this is not something you can 'fix' in your Mendix app, this can only be changed on the page headers of the page you want to display.

answered
0

Hi,

I have added the required parameters also, then also its giving me the same issue.

This is what my iframe looks like-

<iframe src="https://public.tableau.com/views/2016_177/2016?:embed=y&:loadOrderID=0&:display_count=yes">
 
</iframe>

 

answered
0

You cannot display a lot of websites inside an iFrame. Reason being that they send an “X-Frame-Options: SAMEORIGIN” response header. This option prevents the browser from displaying iFrames that are not hosted on the same domain as the parent page.

I faced the same error when displaying YouTube links. For example:

https://www.youtube.com/watch?v=8WkuChVeL0s

I replaced watch?v= with embed/ so the valid link will be:

https://www.youtube.com/embed/8WkuChVeL0s

It works well.

Try to apply the same rule on your case.

 

answered