<?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 Re: Paginated Reports Embedded Issue with getCorrelationId() in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Reports-Embedded-Issue-with-getCorrelationId/m-p/1844858#M29441</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/290428"&gt;@SeSPowerBi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please check whether it hit the following limitation in the this &lt;A href="https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/use-correlation-id#limitations" target="_self"&gt;&lt;STRONG&gt;official documentation&lt;/STRONG&gt;&lt;/A&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;getCorrelationId&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;function only works after the report is loaded.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://github.com/microsoft/PowerBI-JavaScript/blob/34a899547e1aa3428a2408c578786495fc541a7d/src/embed.ts" target="_self"&gt;&lt;STRONG&gt;report.getCorrelationId()&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 03:04:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-17T03:04:54Z</dc:date>
    <item>
      <title>Paginated Reports Embedded Issue with getCorrelationId()</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Reports-Embedded-Issue-with-getCorrelationId/m-p/1839195#M29399</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an app that em&lt;SPAN&gt;bedds a Power BI report with Angular. I have r&lt;/SPAN&gt;un into a problem with retrieving the CorrelationId of paginated reports.&lt;/P&gt;&lt;P&gt;The same code works and retrieves a regular report's embedded correlation ID, however when it comes to paginated it never recieves a value.&lt;/P&gt;&lt;P&gt;Is this a known issue with the getCorrelationId() function that returns the embedded correlation ID?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;getCorrelationId(): &lt;SPAN class="hljs-built_in"&gt;Promise&lt;/SPAN&gt;&amp;lt;&lt;SPAN class="hljs-built_in"&gt;string&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&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;LI-CODE lang="javascript"&gt;let correlationId = await report.getCorrelationId();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is strange, if I put a breakpoint at the line to check if the correlationId is recieved, the id is then grabbed, but then the paginated report never renders/loads. It is stuck with the Power BI message "loading" on the screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 18:22:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Paginated-Reports-Embedded-Issue-with-getCorrelationId/m-p/1839195#M29399</guid>
      <dc:creator>SeSPowerBi</dc:creator>
      <dc:date>2021-05-12T18:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated Reports Embedded Issue with getCorrelationId()</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Reports-Embedded-Issue-with-getCorrelationId/m-p/1844858#M29441</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/290428"&gt;@SeSPowerBi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please check whether it hit the following limitation in the this &lt;A href="https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/use-correlation-id#limitations" target="_self"&gt;&lt;STRONG&gt;official documentation&lt;/STRONG&gt;&lt;/A&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;getCorrelationId&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;function only works after the report is loaded.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://github.com/microsoft/PowerBI-JavaScript/blob/34a899547e1aa3428a2408c578786495fc541a7d/src/embed.ts" target="_self"&gt;&lt;STRONG&gt;report.getCorrelationId()&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 03:04:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Paginated-Reports-Embedded-Issue-with-getCorrelationId/m-p/1844858#M29441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-17T03:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated Reports Embedded Issue with getCorrelationId()</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Reports-Embedded-Issue-with-getCorrelationId/m-p/1862855#M29585</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thank you for your response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does not look like the limiation was hit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it has to do with the loading of the paginated report and the time it takes???&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 14:18:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Paginated-Reports-Embedded-Issue-with-getCorrelationId/m-p/1862855#M29585</guid>
      <dc:creator>SeSPowerBi</dc:creator>
      <dc:date>2021-05-25T14:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated Reports Embedded Issue with getCorrelationId()</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Reports-Embedded-Issue-with-getCorrelationId/m-p/1886643#M29822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/290428"&gt;@SeSPowerBi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Sorry for delay. Please use the following script to retrieve the error log and check whether we can find the cause and get the solution...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dashboard.on("error", function (error) {
    let correlationId = await dashboard.getcorrelationId();
    console.log("Error occurred in embed session: " + correlationId + " Error: " + error.detail.message);
});&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 02:00:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Paginated-Reports-Embedded-Issue-with-getCorrelationId/m-p/1886643#M29822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-08T02:00:10Z</dc:date>
    </item>
  </channel>
</rss>

