<?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 external link in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-external-link/m-p/5194161#M13172</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Bundling the JSON locally is usually the safest solution. Power BI visuals often restrict external URL fetches, so unless the endpoint is explicitly allowed, direct requests may not work.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 08 Jun 2026 04:48:12 GMT</pubDate>
    <dc:creator>davidwarner344</dc:creator>
    <dc:date>2026-06-08T04:48:12Z</dc:date>
    <item>
      <title>fetch external link</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-external-link/m-p/5190242#M13170</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;I could not fetch while developing&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/QuickViz-Gallery/Miniviz-may-Week4-Challenge/m-p/5190241" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;, I had to locally bundle the json, I was wondeing is there a workaround to fetch external link ?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const TOPO_URL = 'https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json';
const world = await fetch(TOPO_URL).then(r =&amp;gt; r.json());&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2026 23:51:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-external-link/m-p/5190242#M13170</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2026-05-28T23:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: fetch external link</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-external-link/m-p/5190266#M13171</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/capabilities#allow-web-access" target="_self"&gt;enable the web access privilege&lt;/A&gt;? This is the first thing I'd check.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This doesn't necessarily mean a fetch will work, though. A custom visual is still a sandboxed iframe with &lt;FONT face="courier new,courier"&gt;null&lt;/FONT&gt; origin, even if this is enabled. However, you should get a meaningful error in the browser console if you do attempt it. If &lt;FONT face="courier new,courier"&gt;cdn.jsdelivr.net&lt;/FONT&gt; does not allow cross-origin requests, you won't be able to serve from there and may need to find a suitable server that does.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2026 01:40:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-external-link/m-p/5190266#M13171</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2026-05-29T01:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: fetch external link</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-external-link/m-p/5194161#M13172</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Bundling the JSON locally is usually the safest solution. Power BI visuals often restrict external URL fetches, so unless the endpoint is explicitly allowed, direct requests may not work.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Jun 2026 04:48:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/fetch-external-link/m-p/5194161#M13172</guid>
      <dc:creator>davidwarner344</dc:creator>
      <dc:date>2026-06-08T04:48:12Z</dc:date>
    </item>
  </channel>
</rss>

