<?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 Re: fetch calls behavior depending on deployment model in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-calls-behavior-depending-on-deployment-model/m-p/963098#M3042</link>
    <description>&lt;P&gt;Hi @Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;HTTP fetch requests work fine from inside the developer visual as long as your remote endpoint can accept requests from any domain. This is because the developer visual runs inside a sandboxed iframe with no domain of its own. Further reading:&amp;nbsp;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe" target="_self"&gt;iframe reference,&lt;/A&gt;&amp;nbsp;under the sandbox attribute. The only value enabled is allow-scripts; all others are disabled from the main window to keep the visual from interacting from the main window, except through the provided APIs.&lt;/P&gt;
&lt;P&gt;Hopefully this gives you some ideas on how to proceed.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Sat, 07 Mar 2020 09:19:48 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2020-03-07T09:19:48Z</dc:date>
    <item>
      <title>fetch calls behavior depending on deployment model</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-calls-behavior-depending-on-deployment-model/m-p/962584#M3041</link>
      <description>&lt;DIV class="jive-rendered-content"&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;How would a javascript&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;fetch&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;call executed by the custom visual behave, depending on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Being executed from Power BI Desktop to a publicly available URL (I assume this works no problem)&lt;/LI&gt;&lt;LI&gt;Being executed from Power BI Desktop to a locally available URL (I assume this works no problem with the URL corresponding to an appropriate local network address)&lt;/LI&gt;&lt;LI&gt;Being executed from Power BI Web to a publicly available URL (I assume this works no problem)&lt;/LI&gt;&lt;LI&gt;Being executed from Power BI Web to a locally available URL (would it work since Power BI Web is running in a browser in the local network?)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;(Also, please let me know if I missed any deployment model possibility)&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="j-common-question"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Mar 2020 16:55:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-calls-behavior-depending-on-deployment-model/m-p/962584#M3041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-06T16:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: fetch calls behavior depending on deployment model</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-calls-behavior-depending-on-deployment-model/m-p/963098#M3042</link>
      <description>&lt;P&gt;Hi @Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;HTTP fetch requests work fine from inside the developer visual as long as your remote endpoint can accept requests from any domain. This is because the developer visual runs inside a sandboxed iframe with no domain of its own. Further reading:&amp;nbsp;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe" target="_self"&gt;iframe reference,&lt;/A&gt;&amp;nbsp;under the sandbox attribute. The only value enabled is allow-scripts; all others are disabled from the main window to keep the visual from interacting from the main window, except through the provided APIs.&lt;/P&gt;
&lt;P&gt;Hopefully this gives you some ideas on how to proceed.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 09:19:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-calls-behavior-depending-on-deployment-model/m-p/963098#M3042</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2020-03-07T09:19:48Z</dc:date>
    </item>
  </channel>
</rss>

