<?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 [PowerBI-Javascript] print() function not working properly on MS Edge in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Javascript-print-function-not-working-properly-on-MS/m-p/1802331#M29149</link>
    <description>&lt;P&gt;I'm using powerbi-client and ngx-power-bi npm for Angular app. When I use print() function of a report instance, it worked well on Chrome/Firefox.&lt;BR /&gt;But on the MS Edge(latest version -&lt;EM&gt;&amp;nbsp;&lt;SPAN class="c01333"&gt;Version 90.0.818.46 (Official build) (64-bit)&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;), it worked for the first time only. Means if I click to open an embedded report, a print popup will be opened as expected, but if I close or click to print, after the print popup is closed, I'm no longer can open the print popup again as nothing happened when I click to print the embedded report. Bellow is the code which I'm using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;{NgxPowerBiService&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;powerBiServiceFactory&lt;/SPAN&gt;} &lt;SPAN&gt;from &lt;/SPAN&gt;&lt;SPAN&gt;'ngx-powerbi'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;{models&lt;SPAN&gt;, &lt;/SPAN&gt;Page&lt;SPAN&gt;, &lt;/SPAN&gt;Report&lt;SPAN&gt;, &lt;/SPAN&gt;VisualDescriptor} &lt;SPAN&gt;from &lt;/SPAN&gt;&lt;SPAN&gt;'powerbi-client'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;printReport&lt;/SPAN&gt;() {&lt;BR /&gt;&lt;SPAN&gt;const &lt;/SPAN&gt;report = &lt;SPAN&gt;powerBiServiceFactory&lt;/SPAN&gt;().&lt;SPAN&gt;get&lt;/SPAN&gt;(&lt;SPAN&gt;this&lt;/SPAN&gt;.&lt;SPAN&gt;getCurrentReportElement&lt;/SPAN&gt;()) &lt;SPAN&gt;as &lt;/SPAN&gt;Report&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt; if &lt;/SPAN&gt;(!!report) {&lt;BR /&gt;report.&lt;SPAN&gt;print&lt;/SPAN&gt;().&lt;SPAN&gt;then&lt;/SPAN&gt;((res) =&amp;gt; {&lt;BR /&gt;}).catch(response =&amp;gt; {&lt;BR /&gt;AppNotify.&lt;SPAN&gt;warning&lt;/SPAN&gt;(response.detailedMessage)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt; })&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt; }&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 09:40:17 GMT</pubDate>
    <dc:creator>PierreL</dc:creator>
    <dc:date>2021-04-23T09:40:17Z</dc:date>
    <item>
      <title>[PowerBI-Javascript] print() function not working properly on MS Edge</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Javascript-print-function-not-working-properly-on-MS/m-p/1802331#M29149</link>
      <description>&lt;P&gt;I'm using powerbi-client and ngx-power-bi npm for Angular app. When I use print() function of a report instance, it worked well on Chrome/Firefox.&lt;BR /&gt;But on the MS Edge(latest version -&lt;EM&gt;&amp;nbsp;&lt;SPAN class="c01333"&gt;Version 90.0.818.46 (Official build) (64-bit)&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;), it worked for the first time only. Means if I click to open an embedded report, a print popup will be opened as expected, but if I close or click to print, after the print popup is closed, I'm no longer can open the print popup again as nothing happened when I click to print the embedded report. Bellow is the code which I'm using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;{NgxPowerBiService&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;powerBiServiceFactory&lt;/SPAN&gt;} &lt;SPAN&gt;from &lt;/SPAN&gt;&lt;SPAN&gt;'ngx-powerbi'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;{models&lt;SPAN&gt;, &lt;/SPAN&gt;Page&lt;SPAN&gt;, &lt;/SPAN&gt;Report&lt;SPAN&gt;, &lt;/SPAN&gt;VisualDescriptor} &lt;SPAN&gt;from &lt;/SPAN&gt;&lt;SPAN&gt;'powerbi-client'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;printReport&lt;/SPAN&gt;() {&lt;BR /&gt;&lt;SPAN&gt;const &lt;/SPAN&gt;report = &lt;SPAN&gt;powerBiServiceFactory&lt;/SPAN&gt;().&lt;SPAN&gt;get&lt;/SPAN&gt;(&lt;SPAN&gt;this&lt;/SPAN&gt;.&lt;SPAN&gt;getCurrentReportElement&lt;/SPAN&gt;()) &lt;SPAN&gt;as &lt;/SPAN&gt;Report&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt; if &lt;/SPAN&gt;(!!report) {&lt;BR /&gt;report.&lt;SPAN&gt;print&lt;/SPAN&gt;().&lt;SPAN&gt;then&lt;/SPAN&gt;((res) =&amp;gt; {&lt;BR /&gt;}).catch(response =&amp;gt; {&lt;BR /&gt;AppNotify.&lt;SPAN&gt;warning&lt;/SPAN&gt;(response.detailedMessage)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt; })&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt; }&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 09:40:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Javascript-print-function-not-working-properly-on-MS/m-p/1802331#M29149</guid>
      <dc:creator>PierreL</dc:creator>
      <dc:date>2021-04-23T09:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: [PowerBI-Javascript] print() function not working properly on MS Edge</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Javascript-print-function-not-working-properly-on-MS/m-p/1804883#M29164</link>
      <description>&lt;P&gt;Will there be any response when you click print again after refreshing the web page?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 05:17:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Javascript-print-function-not-working-properly-on-MS/m-p/1804883#M29164</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-04-26T05:17:11Z</dc:date>
    </item>
  </channel>
</rss>

