<?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: `refreshHostData` stopped working in published visual in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/refreshHostData-stopped-working-in-published-visual/m-p/2977428#M6394</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/469160"&gt;@emil-eklund&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;As per the linked GH issue, for priviliged APIs you will still need to contact the team for explicit permission even if your visual is in AppSource (as it needs to be whitelisted by GUID) - &lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 20:30:27 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2022-12-19T20:30:27Z</dc:date>
    <item>
      <title>`refreshHostData` stopped working in published visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/refreshHostData-stopped-working-in-published-visual/m-p/2976357#M6390</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have developed a custom visual which writes data to an external API, and then triggers a refresh of host data to synchronize the data that was written back into the Power BI Model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has worked perfectly, with the small caveat mentioned in &lt;A href="https://community.powerbi.com/t5/Developer/Power-bi-visual-api-refreshHostData-not-working-after-packaging/m-p/1344442" target="_blank" rel="noopener"&gt;this issue&lt;/A&gt; where it says that the visual must be published for refresh to be available. (Further confirmed by&amp;nbsp;&lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/issues/319" target="_blank" rel="noopener"&gt;this github issue&lt;/A&gt;, though not documented anywhere AFAIK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the latest update to our visual however, &lt;STRONG&gt;we no longer have access to this API&lt;/STRONG&gt;, even though we are on App Source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a hack, I tried changing the ID of the visual to match another older visual, and then it started working again, so it is clearly tied to the ID of the visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we regain the privilege to access this API?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 10:35:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/refreshHostData-stopped-working-in-published-visual/m-p/2976357#M6390</guid>
      <dc:creator>emil-eklund</dc:creator>
      <dc:date>2022-12-19T10:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: `refreshHostData` stopped working in published visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/refreshHostData-stopped-working-in-published-visual/m-p/2977428#M6394</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/469160"&gt;@emil-eklund&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;As per the linked GH issue, for priviliged APIs you will still need to contact the team for explicit permission even if your visual is in AppSource (as it needs to be whitelisted by GUID) - &lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 20:30:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/refreshHostData-stopped-working-in-published-visual/m-p/2977428#M6394</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2022-12-19T20:30:27Z</dc:date>
    </item>
  </channel>
</rss>

