Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I am trying to render some content (kind of introduction/description to the power bi report i have built) from Azure dev ops wiki page of our project. I tried to use HTML viewer to render the web page, but it is not working. I am getting an error message saying "This content cant be shown in an iframe. There is supposed to be a content here. But the publisher doesnt allow it to be displayed in an frame". Its working fine for normal web pages eg.sqlbi.
Is there way to achieve this. I also tried using Azure dev ops (beta) data source. But it shows only task, bugs or userstories.
Thanks,
Priyanga
Hi @Anonymous,
As the HTML viewer is a custom visual, all content it tries to display is displayed in a sandboxed iframe. This means that there are a number of restrictions imposed upon it by Power BI regarding hosting external content. This is to avoid issues where people can (either deliberately or accidentally) embed potentially malicious content for the end user. The side-effect of this is that even though your intentions are honorable, this is a limitation that cannot be worked-around where custom visuals are concerned.
If your Azure DevOps wiki page does not allow embedding within an iframe, then this is something that the HTML viewer cannot work around, as it is only serving the content that Azure DevOps is returning to it in this situation. For example, YouTube has similar restrictions, whereas Vimeo does not, so Vimeo content will work but YouTube embeds won't. Most web pages probably won't have this restriction, which is why you can get them to work.
Sorry this is probably not the answer you were looking for but should hopefully clarify the limitations you're working with.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |