<?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 Power BI Javascript postMessage issues (Failed to execute 'postMessage' on 'Window') in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-postMessage-issues-Failed-to-execute/m-p/4311442#M58539</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the js library from&amp;nbsp;&lt;A href="https://github.com/microsoft/PowerBI-JavaScript" target="_blank" rel="noopener"&gt;https://github.com/microsoft/PowerBI-JavaScript&lt;/A&gt;&amp;nbsp;we encounter a lot of errors caused bij postMessage functions. (&lt;STRONG&gt;Failed to execute 'postMessage' on 'Window': #&amp;lt;Object&amp;gt; could not be cloned.&lt;/STRONG&gt;) This is mainly caused by the interactions of the embedded content with the embedding window (mostly an iFrame) simply putting stringify on the postMessage functions is a dirty work arround for the error but no guarantee the embedding still behaves as intended.&lt;/P&gt;&lt;P&gt;Could someone please assist?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 10:45:36 GMT</pubDate>
    <dc:creator>dvanlooy</dc:creator>
    <dc:date>2024-12-03T10:45:36Z</dc:date>
    <item>
      <title>Power BI Javascript postMessage issues (Failed to execute 'postMessage' on 'Window')</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-postMessage-issues-Failed-to-execute/m-p/4311442#M58539</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the js library from&amp;nbsp;&lt;A href="https://github.com/microsoft/PowerBI-JavaScript" target="_blank" rel="noopener"&gt;https://github.com/microsoft/PowerBI-JavaScript&lt;/A&gt;&amp;nbsp;we encounter a lot of errors caused bij postMessage functions. (&lt;STRONG&gt;Failed to execute 'postMessage' on 'Window': #&amp;lt;Object&amp;gt; could not be cloned.&lt;/STRONG&gt;) This is mainly caused by the interactions of the embedded content with the embedding window (mostly an iFrame) simply putting stringify on the postMessage functions is a dirty work arround for the error but no guarantee the embedding still behaves as intended.&lt;/P&gt;&lt;P&gt;Could someone please assist?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 10:45:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-postMessage-issues-Failed-to-execute/m-p/4311442#M58539</guid>
      <dc:creator>dvanlooy</dc:creator>
      <dc:date>2024-12-03T10:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Javascript postMessage issues (Failed to execute 'postMessage' on 'Window')</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-postMessage-issues-Failed-to-execute/m-p/4312888#M58545</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/883749"&gt;@dvanlooy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You seems to want to embed your Power BI Report by Javascript. Here I suggest you to make sure what kind of embedded methods you want: App owns data or User owns data.&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-your-organization?tabs=net-core" target="_blank"&gt;Embed content in your Power BI embedded analytics application for your organization - Power BI | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-core" target="_blank"&gt;Embed content in your Power BI embedded analytics application - Power BI | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;You can refer to the sample&amp;nbsp;&lt;A href="https://github.com/Microsoft/PowerBI-Developer-Samples" target="_blank"&gt;GitHub - microsoft/PowerBI-Developer-Samples: A collection of Power BI samples for developer use.&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 07:02:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-postMessage-issues-Failed-to-execute/m-p/4312888#M58545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-04T07:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Javascript postMessage issues (Failed to execute 'postMessage' on 'Window')</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-postMessage-issues-Failed-to-execute/m-p/4313285#M58548</link>
      <description>&lt;P&gt;Hi Rico,&lt;/P&gt;&lt;P&gt;I am following this sample:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-power-bi-salesforce" target="_blank" rel="nofollow noopener noreferrer"&gt;https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-power-bi-salesforce&lt;/A&gt;&amp;nbsp;and using 'app owns data'. This requires the powerbi javascript library to be used. Chrome browser (by far most used browser) is throwing this exception by this javascript library when used in combination with an iframe as documented.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 10:23:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-postMessage-issues-Failed-to-execute/m-p/4313285#M58548</guid>
      <dc:creator>dvanlooy</dc:creator>
      <dc:date>2024-12-04T10:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Javascript postMessage issues (Failed to execute 'postMessage' on 'Window')</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-postMessage-issues-Failed-to-execute/m-p/4751062#M62082</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/883749"&gt;@dvanlooy&lt;/a&gt;&amp;nbsp;did you solve this?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 13:54:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-postMessage-issues-Failed-to-execute/m-p/4751062#M62082</guid>
      <dc:creator>Niels-m</dc:creator>
      <dc:date>2025-07-02T13:54:28Z</dc:date>
    </item>
  </channel>
</rss>

