cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Priyanga
Frequent Visitor

HTML Viewer to display content from azure dev ops

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

2 REPLIES 2
Super User I
Super User I

Re: HTML Viewer to display content from azure dev ops

Hi @Priyanga,

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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Highlighted
Priyanga
Frequent Visitor

Re: HTML Viewer to display content from azure dev ops

Thanks Daniel

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.