<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic custom visual, Iframe content not showing in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/445082#M1181</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a custom visual with&amp;nbsp;an IFrame that displays a Asp mvc web page.&lt;/P&gt;&lt;P&gt;When I create a report in PowerBI.com, add the custom visual and sett the URL&amp;nbsp;property.&lt;/P&gt;&lt;P&gt;This reports shows my asp mvc web page within the IFrame. Meaning both the visual iframe and the iframe within the visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I create the same report in the PowerBI desktop application. Import my custom visual, set the data source and url. Publish my report to PowerBI.com. This report does not show my iframe within the visual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The div id="sandbox-host" within the visual iframe is there. But this div have no content.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generated by PowerBI desktop, empty div&lt;/P&gt;&lt;P&gt;&amp;lt;div id="sandbox-host" class="visual visual-aeMicroFunctionVisual12078836E25D45F39A1999F2BD75F237"&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generated by PowerBI.com&lt;/P&gt;&lt;P&gt;&amp;lt;div id="sandbox-host" class="visual visual-aeMicroFunctionVisual12078836E25D45F39A1999F2BD75F237"&amp;gt;&lt;BR /&gt;&amp;lt;iframe src="https://XXXXXXXXXXXXXXXXXXXXXXXXXXX707057500079987300" style="width: 260px; height: 244px;"&amp;gt;&lt;BR /&gt;&amp;lt;/iframe&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I can se is that my property within my visual is listed in the javascript for my custom visual&lt;/P&gt;&lt;P&gt;&amp;lt;script id="js-aeMicroFunctionVisual12078836E25D45F39A1999F2BD75F237" name="aeMicroFunctionVisual12078836E25D45F39A1999F2BD75F237"&amp;gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;I don't get any javascript errors when viewing my report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So&amp;nbsp;how can I get&amp;nbsp;a report generated by PowerBi desktop to view the content of my IFrame?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;/Frode&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 10:20:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-21T10:20:42Z</dc:date>
    <item>
      <title>custom visual, Iframe content not showing</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/445082#M1181</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a custom visual with&amp;nbsp;an IFrame that displays a Asp mvc web page.&lt;/P&gt;&lt;P&gt;When I create a report in PowerBI.com, add the custom visual and sett the URL&amp;nbsp;property.&lt;/P&gt;&lt;P&gt;This reports shows my asp mvc web page within the IFrame. Meaning both the visual iframe and the iframe within the visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I create the same report in the PowerBI desktop application. Import my custom visual, set the data source and url. Publish my report to PowerBI.com. This report does not show my iframe within the visual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The div id="sandbox-host" within the visual iframe is there. But this div have no content.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generated by PowerBI desktop, empty div&lt;/P&gt;&lt;P&gt;&amp;lt;div id="sandbox-host" class="visual visual-aeMicroFunctionVisual12078836E25D45F39A1999F2BD75F237"&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generated by PowerBI.com&lt;/P&gt;&lt;P&gt;&amp;lt;div id="sandbox-host" class="visual visual-aeMicroFunctionVisual12078836E25D45F39A1999F2BD75F237"&amp;gt;&lt;BR /&gt;&amp;lt;iframe src="https://XXXXXXXXXXXXXXXXXXXXXXXXXXX707057500079987300" style="width: 260px; height: 244px;"&amp;gt;&lt;BR /&gt;&amp;lt;/iframe&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I can se is that my property within my visual is listed in the javascript for my custom visual&lt;/P&gt;&lt;P&gt;&amp;lt;script id="js-aeMicroFunctionVisual12078836E25D45F39A1999F2BD75F237" name="aeMicroFunctionVisual12078836E25D45F39A1999F2BD75F237"&amp;gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;I don't get any javascript errors when viewing my report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So&amp;nbsp;how can I get&amp;nbsp;a report generated by PowerBi desktop to view the content of my IFrame?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;/Frode&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 10:20:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/445082#M1181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-21T10:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: custom visual, Iframe content not showing</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/445849#M1190</link>
      <description>&lt;P&gt;It seems Power BI Desktop blocks an iframe inside another ifframe due to using sandboxed iframe.&lt;/P&gt;
&lt;P&gt;To bypass this issue we would recommend not to use an additional iframe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 07:27:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/445849#M1190</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-06-22T07:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: custom visual, Iframe content not showing</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/445853#M1192</link>
      <description>&lt;P&gt;Is it possible to set the source of the outer iframe, the visual in it self?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 07:31:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/445853#M1192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-22T07:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: custom visual, Iframe content not showing</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/445869#M1193</link>
      <description>&lt;P&gt;No, it is not possbile due to security concerns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 07:45:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/445869#M1193</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-06-22T07:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: custom visual, Iframe content not showing</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/698829#M2187</link>
      <description>&lt;P&gt;I am observing the following in&amp;nbsp;a custom visualization packaged as PBIVIZ:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) My custom component includes a single Iframe.&lt;/P&gt;&lt;P&gt;2) The PBIVIZ installs and renders partially in PowerBI desktop.&amp;nbsp; The IFrame does not load (fiddler can't see a URI request at all).&lt;/P&gt;&lt;P&gt;3) When published to PBI server, the same component renders fully, including the IFrame correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A few questions:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1) Is this true?&amp;nbsp; By design?&lt;/P&gt;&lt;P&gt;2) Is there a work-around such as embedding the IFrame in SVG or elsewhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 23:31:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/698829#M2187</guid>
      <dc:creator>drumcircle</dc:creator>
      <dc:date>2019-05-23T23:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: custom visual, Iframe content not showing</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/701601#M2204</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; It is not recommended to use iframes inside your visual because visual is wrapped into iframe with sandbox itself and inner iframes will not work correctly.&lt;/P&gt;&lt;P&gt;2. There&amp;nbsp;aren't workarounds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact, it is strange why your visual works correctly in Service. Could you please send us to&amp;nbsp; pbicvsupport@microsoft.com your code or link to a repo for analysis?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 16:11:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/custom-visual-Iframe-content-not-showing/m-p/701601#M2204</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-05-28T16:11:38Z</dc:date>
    </item>
  </channel>
</rss>

