<?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: How to make a simple HTTP request from server outside sandbox when developing a custom visual? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-make-a-simple-HTTP-request-from-server-outside-sandbox/m-p/2657924#M37533</link>
    <description>&lt;P&gt;I found &lt;A href="https://stackoverflow.com/questions/72256655/how-to-store-data-in-powerbi-for-custom-visual?newreg=810b87cad029461e857083538e63f56e" target="_self"&gt;a workround&lt;/A&gt; shared by others on stackoverflow. He seems to use Azure Storage Blob to make http requests. I tried to do this, but it still seems to be blocked. What do you think of his solution.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 03:15:02 GMT</pubDate>
    <dc:creator>NoanHu</dc:creator>
    <dc:date>2022-07-25T03:15:02Z</dc:date>
    <item>
      <title>How to make a simple HTTP request from server outside sandbox when developing a custom visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-make-a-simple-HTTP-request-from-server-outside-sandbox/m-p/2643954#M37408</link>
      <description>&lt;P&gt;When i call the api from the&amp;nbsp;server outside&amp;nbsp;sandbox , it will be blocked by&amp;nbsp;csp&amp;nbsp;(Content Security Policy) of the visual sandbox. How to solve this problem. Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="server.error.PNG" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/749625i061E0D5D7DE1D46A/image-size/large?v=v2&amp;amp;px=999" role="button" title="server.error.PNG" alt="server.error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:08:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-make-a-simple-HTTP-request-from-server-outside-sandbox/m-p/2643954#M37408</guid>
      <dc:creator>NoanHu</dc:creator>
      <dc:date>2022-07-18T07:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a simple HTTP request from server outside sandbox when developing a custom visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-make-a-simple-HTTP-request-from-server-outside-sandbox/m-p/2651590#M37465</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/402950"&gt;@NoanHu&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;In fact, these operations are been blocked due to power bi service security policies, and currently you can't customize these settings.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-power-bi-security" target="_blank" rel="noopener"&gt;Power BI Security - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If you are invoking the external image or other types of resource files from request, I'd like to suggest you directly embed them to your custom visual.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://blog.jongallant.com/2016/12/powerbi-custom-visual-svg-png/" target="_blank" rel="noopener"&gt;Power BI Custom Visual Tip: How to Render an SVG or PNG | Jon Gallant&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If the visual still requires additional table records to help analysis. (e.g. map) I'd like to suggest you change to import instead of directly sending the request to an external URL.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://stackoverflow.com/questions/53649113/power-bi-custom-visuals-use-json-file" target="_blank" rel="noopener"&gt;typescript - power bi custom visuals use json file - Stack Overflow&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&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>Mon, 25 Jul 2022 03:26:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-make-a-simple-HTTP-request-from-server-outside-sandbox/m-p/2651590#M37465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-25T03:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a simple HTTP request from server outside sandbox when developing a custom visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-make-a-simple-HTTP-request-from-server-outside-sandbox/m-p/2657924#M37533</link>
      <description>&lt;P&gt;I found &lt;A href="https://stackoverflow.com/questions/72256655/how-to-store-data-in-powerbi-for-custom-visual?newreg=810b87cad029461e857083538e63f56e" target="_self"&gt;a workround&lt;/A&gt; shared by others on stackoverflow. He seems to use Azure Storage Blob to make http requests. I tried to do this, but it still seems to be blocked. What do you think of his solution.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 03:15:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-make-a-simple-HTTP-request-from-server-outside-sandbox/m-p/2657924#M37533</guid>
      <dc:creator>NoanHu</dc:creator>
      <dc:date>2022-07-25T03:15:02Z</dc:date>
    </item>
  </channel>
</rss>

