<?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;img /&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;img /&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;img /&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;img /&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="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="309973" data-lia-user-login="dvgz" class="lia-mention lia-mention-user"&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>

