Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
If i use for example
<iframe width="1591" height="1000" src="https://exceleratorbi.com.au/extending-power-bi-r-visuals/" frameborder="0"></iframe>
it works
but for
<iframe width="1591" height="1000" src="https://www.google.co.za/" frameborder="0"></iframe>
it says refused to connect
Solved! Go to Solution.
Hi @jprousseau ,
I have pressed F12 to get more details, it said: Refused to display 'https://www.google.co.za/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
To my knowledge,X-Frame-Options is a header included in the response to the request to state if the domain requested will allow itself to be displayed within a frame. It has nothing to do with javascript or HTML, and cannot be changed by the originator of the request.
This website (https://www.google.co.za/) has set this header to disallow it to be displayed in an iframe. There is nothing a client can do to stop this behaviour.
Refer to:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
https://stackoverflow.com/questions/27358966/how-to-set-x-frame-options-on-iframe
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jprousseau ,
I have pressed F12 to get more details, it said: Refused to display 'https://www.google.co.za/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
To my knowledge,X-Frame-Options is a header included in the response to the request to state if the domain requested will allow itself to be displayed within a frame. It has nothing to do with javascript or HTML, and cannot be changed by the originator of the request.
This website (https://www.google.co.za/) has set this header to disallow it to be displayed in an iframe. There is nothing a client can do to stop this behaviour.
Refer to:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
https://stackoverflow.com/questions/27358966/how-to-set-x-frame-options-on-iframe
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes the viewer and the "add tile" web content also not working
@jprousseau , Are you taking about hrml content visual in power ?
https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa200001930?tab=overview
It may limit some content
HTML Viewer is no more available
https://dataveld.com/2020/04/11/how-to-obtain-a-power-bi-custom-visual-if-it-no-longer-appears-on-ap...
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |