<?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 Cannot Pass Parameters from Embed Paginated Report in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-Pass-Parameters-from-Embed-Paginated-Report/m-p/2021354#M31184</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a website, where we currently have an embedded PowerBI Paginated Report (the iFrame is inside a modal window)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dvgz_0-1629207950180.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/574688i4134E53A5140D313/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dvgz_0-1629207950180.png" alt="dvgz_0-1629207950180.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way, to &lt;EM&gt;retrieve&amp;nbsp;&lt;/EM&gt;the parameters the user has selected here, when they click "View Report" button ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values are contained inside an iFrame, so we are not allowed to look inside the DOM and retrieve them this way.&lt;/P&gt;&lt;P&gt;But maybe we can use something like web "PostMessage", and send a message through Cross Domain to communicate with the &lt;A href="https://app.powerbi.com/" target="_blank"&gt;https://app.powerbi.com/&lt;/A&gt;&amp;nbsp;area&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dvgz_1-1629208210878.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/574689i7E1F45320A9FD9E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dvgz_1-1629208210878.png" alt="dvgz_1-1629208210878.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reading&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 13:51:13 GMT</pubDate>
    <dc:creator>dvgz</dc:creator>
    <dc:date>2021-08-17T13:51:13Z</dc:date>
    <item>
      <title>Cannot Pass Parameters from Embed Paginated Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-Pass-Parameters-from-Embed-Paginated-Report/m-p/2021354#M31184</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a website, where we currently have an embedded PowerBI Paginated Report (the iFrame is inside a modal window)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dvgz_0-1629207950180.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/574688i4134E53A5140D313/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dvgz_0-1629207950180.png" alt="dvgz_0-1629207950180.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way, to &lt;EM&gt;retrieve&amp;nbsp;&lt;/EM&gt;the parameters the user has selected here, when they click "View Report" button ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values are contained inside an iFrame, so we are not allowed to look inside the DOM and retrieve them this way.&lt;/P&gt;&lt;P&gt;But maybe we can use something like web "PostMessage", and send a message through Cross Domain to communicate with the &lt;A href="https://app.powerbi.com/" target="_blank"&gt;https://app.powerbi.com/&lt;/A&gt;&amp;nbsp;area&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dvgz_1-1629208210878.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/574689i7E1F45320A9FD9E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dvgz_1-1629208210878.png" alt="dvgz_1-1629208210878.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reading&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 13:51:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cannot-Pass-Parameters-from-Embed-Paginated-Report/m-p/2021354#M31184</guid>
      <dc:creator>dvgz</dc:creator>
      <dc:date>2021-08-17T13:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Pass Parameters from Embed Paginated Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-Pass-Parameters-from-Embed-Paginated-Report/m-p/2025410#M31215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/309973"&gt;@dvgz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may refer to this blog for more details about how to configure setting in Embed &lt;SPAN&gt;Paginated Report.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/embed-paginated-report" target="_self"&gt;Embed a paginated report&lt;/A&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;settings: {
    commands: {
        parameterPanel: {
            enabled: true,
            expanded: true
        }
    }
}&lt;/LI-CODE&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 08:04:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cannot-Pass-Parameters-from-Embed-Paginated-Report/m-p/2025410#M31215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-19T08:04:48Z</dc:date>
    </item>
  </channel>
</rss>

