<?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 print, or use any methods, in embedded report in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-print-or-use-any-methods-in-embedded-report/m-p/4019107#M53828</link>
    <description>&lt;P&gt;I have embedded a report on a page (via the API, not pasting in the iframe) and am having trouble getting any of the API methods to work properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following click event:&lt;/P&gt;&lt;PRE&gt;$(printButton).click(function () {&lt;BR /&gt;  console.log('clicked');&lt;BR /&gt;  report.print();&lt;BR /&gt;})&lt;/PRE&gt;&lt;P&gt;When report.print runs, it spits out the following in the console:&lt;/P&gt;&lt;PRE&gt;h9vfrx Posting message:&lt;BR /&gt;{&lt;BR /&gt;"method": "POST",&lt;BR /&gt;"url": "/report/print",&lt;BR /&gt;"headers": {&lt;BR /&gt;"x-sdk-type": "js",&lt;BR /&gt;"x-sdk-version": "2.23.1",&lt;BR /&gt;"uid": "xujo6g",&lt;BR /&gt;"id": "wdxvin"&lt;BR /&gt;},&lt;BR /&gt;"body": null&lt;BR /&gt;}&lt;BR /&gt;target origin: undefined&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But it does nothing on the front end. No print menu pops up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While troubleshooting, I also tried to put the print command inside the loaded event But this event never runs --even though the report DOES appear to load properly.&lt;/P&gt;&lt;PRE&gt;report.on("loaded", function () {&lt;BR /&gt;  console.log("Loaded");&lt;BR /&gt;});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone advise??&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 19:52:09 GMT</pubDate>
    <dc:creator>rgold</dc:creator>
    <dc:date>2024-07-01T19:52:09Z</dc:date>
    <item>
      <title>Cannot print, or use any methods, in embedded report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-print-or-use-any-methods-in-embedded-report/m-p/4019107#M53828</link>
      <description>&lt;P&gt;I have embedded a report on a page (via the API, not pasting in the iframe) and am having trouble getting any of the API methods to work properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following click event:&lt;/P&gt;&lt;PRE&gt;$(printButton).click(function () {&lt;BR /&gt;  console.log('clicked');&lt;BR /&gt;  report.print();&lt;BR /&gt;})&lt;/PRE&gt;&lt;P&gt;When report.print runs, it spits out the following in the console:&lt;/P&gt;&lt;PRE&gt;h9vfrx Posting message:&lt;BR /&gt;{&lt;BR /&gt;"method": "POST",&lt;BR /&gt;"url": "/report/print",&lt;BR /&gt;"headers": {&lt;BR /&gt;"x-sdk-type": "js",&lt;BR /&gt;"x-sdk-version": "2.23.1",&lt;BR /&gt;"uid": "xujo6g",&lt;BR /&gt;"id": "wdxvin"&lt;BR /&gt;},&lt;BR /&gt;"body": null&lt;BR /&gt;}&lt;BR /&gt;target origin: undefined&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But it does nothing on the front end. No print menu pops up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While troubleshooting, I also tried to put the print command inside the loaded event But this event never runs --even though the report DOES appear to load properly.&lt;/P&gt;&lt;PRE&gt;report.on("loaded", function () {&lt;BR /&gt;  console.log("Loaded");&lt;BR /&gt;});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone advise??&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 19:52:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cannot-print-or-use-any-methods-in-embedded-report/m-p/4019107#M53828</guid>
      <dc:creator>rgold</dc:creator>
      <dc:date>2024-07-01T19:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot print, or use any methods, in embedded report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-print-or-use-any-methods-in-embedded-report/m-p/4019187#M53830</link>
      <description>&lt;P&gt;Try this options to solve issues with printing or using methods in an embedded Power BI report, ensure that your embedding method supports the desired features, check permissions and settings, and troubleshoot any specific error messages.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 21:36:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cannot-print-or-use-any-methods-in-embedded-report/m-p/4019187#M53830</guid>
      <dc:creator>VN999</dc:creator>
      <dc:date>2024-07-01T21:36:56Z</dc:date>
    </item>
  </channel>
</rss>

