<?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: Export JSON data in to CSV format on button click Of Custom Visual in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Export-JSON-data-in-to-CSV-format-on-button-click-Of-Custom/m-p/1847545#M3694</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/278369"&gt;@pbiembeded&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Your error is basically that - visuals run in a &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox" target="_self"&gt;sandboxed iframe&lt;/A&gt; and are not permitted to export data. The only permission currently set is &lt;FONT face="courier new,courier"&gt;allow-scripts&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;It is unlikely that MS will change this, but you can always make a feature request in the GitHub repo for the SDK. &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/issues/352" target="_self"&gt;There is already one for something similar&lt;/A&gt; that you could probably add your voice to.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 02:07:14 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2021-05-18T02:07:14Z</dc:date>
    <item>
      <title>Export JSON data in to CSV format on button click Of Custom Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Export-JSON-data-in-to-CSV-format-on-button-click-Of-Custom/m-p/1843428#M3693</link>
      <description>&lt;P&gt;Thanks for the help in advance.&lt;/P&gt;&lt;P&gt;I have 2 questions :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; How one can export JSON data into excel or csv from custom visual on Javascript button click event ?&lt;/P&gt;&lt;P&gt;I want to export JSON data into CSV file from Custom Visual on Javascript button click event.&amp;nbsp;My data size could go upto 100MB. Please let me knwo if you have any sugeestions.&lt;/P&gt;&lt;P&gt;2. How I can fix below exception?&lt;/P&gt;&lt;P&gt;I tried export to excel using windows.open on button click, but I am getting below exception:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Block windows.open&amp;nbsp; in new window&amp;nbsp; because the request was made in sandbox frame whoes "allowed-popups" permissions is not set.&lt;/P&gt;&lt;P&gt;Please let me knwo if anyone knows how to fix this exception.&lt;/P&gt;&lt;P&gt;Total I have 2 things.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 18:59:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Export-JSON-data-in-to-CSV-format-on-button-click-Of-Custom/m-p/1843428#M3693</guid>
      <dc:creator>pbiembeded</dc:creator>
      <dc:date>2021-05-14T18:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Export JSON data in to CSV format on button click Of Custom Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Export-JSON-data-in-to-CSV-format-on-button-click-Of-Custom/m-p/1847545#M3694</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/278369"&gt;@pbiembeded&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Your error is basically that - visuals run in a &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox" target="_self"&gt;sandboxed iframe&lt;/A&gt; and are not permitted to export data. The only permission currently set is &lt;FONT face="courier new,courier"&gt;allow-scripts&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;It is unlikely that MS will change this, but you can always make a feature request in the GitHub repo for the SDK. &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/issues/352" target="_self"&gt;There is already one for something similar&lt;/A&gt; that you could probably add your voice to.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 02:07:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Export-JSON-data-in-to-CSV-format-on-button-click-Of-Custom/m-p/1847545#M3694</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-05-18T02:07:14Z</dc:date>
    </item>
  </channel>
</rss>

