<?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 PBI Visuals in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-PBI-Visuals/m-p/1645121#M27679</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keep butting into the below error while trying to implement React-map-gl. Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VM28881:30889 Uncaught DOMException: Failed to read the 'caches' property from 'Window': Cache storage is disabled because the context is sandboxed and lacks the 'allow-same-origin' flag.
    at dt (&amp;lt;anonymous&amp;gt;:30889:12382)
    at &amp;lt;anonymous&amp;gt;:30889:14870
    at &amp;lt;anonymous&amp;gt;:30889:15177
    at wt (&amp;lt;anonymous&amp;gt;:30889:15230)
    at kt (&amp;lt;anonymous&amp;gt;:30889:16193)
    at Object.getSession (&amp;lt;anonymous&amp;gt;:30889:11811)
    at Object.processRequests (&amp;lt;anonymous&amp;gt;:30889:12233)
    at Object.queueRequest (&amp;lt;anonymous&amp;gt;:30889:9815)
    at Object.getSessionAPI (&amp;lt;anonymous&amp;gt;:30889:12004)
    at Map._authenticate (&amp;lt;anonymous&amp;gt;:30893:376250)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 13:18:45 GMT</pubDate>
    <dc:creator>jgreg14</dc:creator>
    <dc:date>2021-02-04T13:18:45Z</dc:date>
    <item>
      <title>Custom PBI Visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-PBI-Visuals/m-p/1645121#M27679</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keep butting into the below error while trying to implement React-map-gl. Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VM28881:30889 Uncaught DOMException: Failed to read the 'caches' property from 'Window': Cache storage is disabled because the context is sandboxed and lacks the 'allow-same-origin' flag.
    at dt (&amp;lt;anonymous&amp;gt;:30889:12382)
    at &amp;lt;anonymous&amp;gt;:30889:14870
    at &amp;lt;anonymous&amp;gt;:30889:15177
    at wt (&amp;lt;anonymous&amp;gt;:30889:15230)
    at kt (&amp;lt;anonymous&amp;gt;:30889:16193)
    at Object.getSession (&amp;lt;anonymous&amp;gt;:30889:11811)
    at Object.processRequests (&amp;lt;anonymous&amp;gt;:30889:12233)
    at Object.queueRequest (&amp;lt;anonymous&amp;gt;:30889:9815)
    at Object.getSessionAPI (&amp;lt;anonymous&amp;gt;:30889:12004)
    at Map._authenticate (&amp;lt;anonymous&amp;gt;:30893:376250)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 13:18:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-PBI-Visuals/m-p/1645121#M27679</guid>
      <dc:creator>jgreg14</dc:creator>
      <dc:date>2021-02-04T13:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom PBI Visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-PBI-Visuals/m-p/1646196#M27685</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/207011"&gt;@jgreg14&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The developer visual hosts all custom visuals in an iframe, which is sandboxed. The &lt;FONT face="courier new,courier"&gt;allow-same-origin&lt;/FONT&gt; permission is not set, and I can't see this ever being enabled within Power BI, as, &lt;A href="http://When%20the embedded document has the same origin as the embedding page, it is strongly discouraged to use both allow-scripts and allow-same-origin, as that lets the embedded document remove the sandbox attribute — making it no more secure than not using the sandbox attribute at all." target="_self"&gt;according to MDN&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;EM&gt;When the embedded document has the same origin as the embedding page, it is strongly discouraged to use both &lt;CODE class="inline-code"&gt;allow-scripts&lt;/CODE&gt; and &lt;CODE class="inline-code"&gt;allow-same-origin&lt;/CODE&gt;, as that lets the embedded document remove the &lt;CODE class="inline-code"&gt;sandbox&lt;/CODE&gt; attribute — making it no more secure than not using the &lt;CODE class="inline-code"&gt;sandbox&lt;/CODE&gt; attribute at all.&lt;/EM&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Even though your intentions might be honourable, it's a risky permission to allow in a data platform.&lt;/P&gt;
&lt;P&gt;The only way around this is to see if your library can work with less permissions on the sandbox, and this is probably a question better directed to the authors of that library to see if there are any such options - this won't be resolvable within Power BI as-is, unfortunately.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:14:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-PBI-Visuals/m-p/1646196#M27685</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-02-04T20:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom PBI Visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-PBI-Visuals/m-p/1653335#M27744</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/207011"&gt;@jgreg14&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;It seems like the library that you invoke contains some operations that will be blocked by the power bi custom visual sandbox environment.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;For this scenario, I'd like to suggest you contact to library author to report this for the instead operations or try to find out other libraries that not include these types of operations.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;BTW, you can also submit an idea for adding cache feature support for the sandbox environment.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 01:27:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-PBI-Visuals/m-p/1653335#M27744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-09T01:27:01Z</dc:date>
    </item>
  </channel>
</rss>

