<?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 Add &amp;quot;allow-same-origin&amp;quot; value to iframe's attribute sandbox in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/114998#M3963</link>
    <description>&lt;P&gt;I'm developing a custom visual for map visualization and encounter the following error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Uncaught DOMException: Failed to read the 'sessionStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is there anyway&amp;nbsp;to add the "allow-same-origin" flag to the iframe that load my visual?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2017 06:59:45 GMT</pubDate>
    <dc:creator>muy</dc:creator>
    <dc:date>2017-01-18T06:59:45Z</dc:date>
    <item>
      <title>Add "allow-same-origin" value to iframe's attribute sandbox</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/114998#M3963</link>
      <description>&lt;P&gt;I'm developing a custom visual for map visualization and encounter the following error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Uncaught DOMException: Failed to read the 'sessionStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is there anyway&amp;nbsp;to add the "allow-same-origin" flag to the iframe that load my visual?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 06:59:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/114998#M3963</guid>
      <dc:creator>muy</dc:creator>
      <dc:date>2017-01-18T06:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Add "allow-same-origin" value to iframe's attribute sandbox</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/115779#M3992</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/20048"&gt;@muy&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on my experience, this can‘t be achieved. You could also reach out for help at &lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools" target="_self"&gt;GitHub&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 09:55:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/115779#M3992</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-01-19T09:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add "allow-same-origin" value to iframe's attribute sandbox</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/116209#M4008</link>
      <description>&lt;P&gt;Thanks for the reply Sam.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had spent some time looking into this, but couldn't find any solutions as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 00:26:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/116209#M4008</guid>
      <dc:creator>muy</dc:creator>
      <dc:date>2017-01-20T00:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add "allow-same-origin" value to iframe's attribute sandbox</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/122439#M4219</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/20048"&gt;@muy&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may&amp;nbsp;keep an eye on&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/blog/tag/custom-visuals/" target="_blank" rel="nofollow noopener noreferrer"&gt;Custom Visuals&amp;nbsp;blog&lt;/A&gt; for the latest info.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 10:04:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/122439#M4219</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-02-03T10:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add "allow-same-origin" value to iframe's attribute sandbox</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/230436#M7260</link>
      <description>&lt;P&gt;I could use this as well. &amp;nbsp;I receive this error in the console while developing any Custom Visual using Chrome v60.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2017 18:08:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/230436#M7260</guid>
      <dc:creator>ryanbaumann</dc:creator>
      <dc:date>2017-08-13T18:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add "allow-same-origin" value to iframe's attribute sandbox</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/230762#M7272</link>
      <description>&lt;P&gt;Power BI Custom Visuals API doesn't allow to use local storage, session storage and cookie due to security aspects.&lt;/P&gt;&lt;P&gt;You might keep a session in Power BI capabilities' properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 10:03:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/230762#M7272</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-08-14T10:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Add "allow-same-origin" value to iframe's attribute sandbox</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/257961#M7959</link>
      <description>&lt;P&gt;There is good news and bad news. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;bad news is that what you're asking for, adding the "allow-same-origin" permission to sandboxed visuals, has a snowballs chance in hell of happening. &amp;nbsp;It's considered by many to be risky from a security perspective, and Microsoft has to have insane vigilence around security, I can't see them ever doing this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The good news is there are workarounds for these limitations, one of them might allow you to still meet your goal. &amp;nbsp;I've been wanting to get around to blogging about PBI sandboxing,&amp;nbsp;and developing custom visuals in general, maybe something like Power BI Custom Visuals In-Depth, but you know&amp;nbsp;it's tough to get free time...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I would suggest in your case is to let us know, why you want to use session storage? &amp;nbsp;What user level requirement is driving it? &amp;nbsp;That way&amp;nbsp;people here can offer suggestions on how to achieve what you need&amp;nbsp;technically while&amp;nbsp;perserving the experience for your end users.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2017 18:05:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/257961#M7959</guid>
      <dc:creator>Cubist</dc:creator>
      <dc:date>2017-09-24T18:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Add "allow-same-origin" value to iframe's attribute sandbox</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/257981#M7960</link>
      <description>Thanks for replying! I managed to get this to work without needing the allow-same-origin flag. My custom visual is here &lt;A href="https://github.com/ryanbaumann/mapboxgl-powerBI" target="_blank"&gt;https://github.com/ryanbaumann/mapboxgl-powerBI&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;The solution did not have to do with the allow same origin flag. Instead I had an error that was not written to the debug console which caused the custom visual to not load properly. I still see the allow same origin error, but it does not effect my app.&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Sun, 24 Sep 2017 20:19:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/257981#M7960</guid>
      <dc:creator>ryanbaumann</dc:creator>
      <dc:date>2017-09-24T20:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Add "allow-same-origin" value to iframe's attribute sandbox</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/1644372#M27675</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24255"&gt;@ryanbaumann&lt;/a&gt;&amp;nbsp;- how did you get this working?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 10:20:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/1644372#M27675</guid>
      <dc:creator>jgreg14</dc:creator>
      <dc:date>2021-02-04T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Add "allow-same-origin" value to iframe's attribute sandbox</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/4148239#M55243</link>
      <description>&lt;P&gt;The map is possible because there is a mapbox visual training for Power BI that uses them.&amp;nbsp; Something else is causing the error.&amp;nbsp; How can we trouble shoot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mapbox Tutorial Power BI 101&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=0w589b5_Z3o" target="_blank"&gt;https://www.youtube.com/watch?v=0w589b5_Z3o&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 00:58:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-quot-allow-same-origin-quot-value-to-iframe-s-attribute/m-p/4148239#M55243</guid>
      <dc:creator>NUCRjs2</dc:creator>
      <dc:date>2024-09-13T00:58:37Z</dc:date>
    </item>
  </channel>
</rss>

