<?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: Phased Embedding API with Preload error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/552285#M17228</link>
    <description>&lt;P&gt;Here is the basic structure I used for this technique.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;// preload preload pbie scripts on this page
var preloadConfig = {
  type: 'report',
  baseUrl: 'https://embedded.powerbi.com/reportEmbed',
};

var preloadElement = powerbi.preload(preloadConfig);

preloadElement.onload(function () {
  console.log("pbie scripts now preloaded into this page");
});


// data required for embedding Power BI report
var embedReportId = "2cf7c5c5-4e1a-4df7-a2a6-21930aeb6fb6";
var embedUrl = "https://app.powerbi.com/reportEmbed?reportId=2cf7c5c5-4e1a-4df7-a2a...";
var accessToken = "H4sIAAAAAAAEAB1WtQ7sCBL8l5fOSmZaaQMzMzszM49xdf9-o8076K7qgn__WOkzzGn...";

// Get models object to access enums for embed configuration
var models = window['powerbi-client'].models;

var config = {
  type: 'report',
  id: embedReportId,
  embedUrl: embedUrl,
  accessToken: accessToken,
  tokenType: models.TokenType.Embed,
};

// Get a reference to the embedded report HTML element
var reportContainer = document.getElementById('embedContainer');

// call load() instead of embed() to load the report while delaying the rendering process
var report = powerbi.load(embedContainer, config);

// when loaded event occurs, set current page then call render()
report.on("loaded", function () {
  console.log("loaded event executing");
  // call to get Pages collection
  report.getPages().then(
    function (pages) {
      // inspect pages in browser console
      console.log(pages);
      // display specific page in report
      var startPage = pages[0]; // this select first page
      config.pageName = startPage.name;
      // Call report.render() to display report
      report.render(config);
    });
});

report.on('rendered', function () {
  console.log("rendered event executing");
});&lt;/PRE&gt;</description>
    <pubDate>Thu, 25 Oct 2018 11:56:35 GMT</pubDate>
    <dc:creator>TedPattison</dc:creator>
    <dc:date>2018-10-25T11:56:35Z</dc:date>
    <item>
      <title>Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/551629#M17194</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In last update MS announced&amp;nbsp;&lt;STRONG&gt;Phased Embedding API &lt;/STRONG&gt;(&lt;EM&gt;&lt;A href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Phased-Embedding-API" target="_blank"&gt;https://github.com/Microsoft/PowerBI-JavaScript/wiki/Phased-Embedding-API&lt;/A&gt;)&lt;/EM&gt;, so I have tried&amp;nbsp;it.&lt;/P&gt;&lt;P&gt;I am not sure how&amp;nbsp;&lt;STRONG&gt;Preload (Warm start)&amp;nbsp;&lt;/STRONG&gt;really works.&lt;/P&gt;&lt;P&gt;As far as I understand first you do preload, after it finishes you can embed your report in your old way, or with new .load functionality.&lt;/P&gt;&lt;P&gt;so I have tried this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var config_pre= {
  type: 'report',
  embedUrl: embedUrl,
};
var element = powerbi.preload(config_pre);
element.on('preloaded', function() {
  var report = powerbi.embed(reportContainer, config);
});&lt;/PRE&gt;&lt;P&gt;It doesn't work and throws me an error on js level:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;303:547 Uncaught TypeError: element.on is not a function
    at Object.biResponse [as success] (303:547)
    at l (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at T (jquery.min.js:2)
    at XMLHttpRequest.r (jquery.min.js:2)&lt;/PRE&gt;&lt;P&gt;Do you think mine&amp;nbsp;approach on that is a logical one, and maybe you do know anything about that error?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 23:07:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/551629#M17194</guid>
      <dc:creator>Zuv</dc:creator>
      <dc:date>2018-10-24T23:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/552285#M17228</link>
      <description>&lt;P&gt;Here is the basic structure I used for this technique.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;// preload preload pbie scripts on this page
var preloadConfig = {
  type: 'report',
  baseUrl: 'https://embedded.powerbi.com/reportEmbed',
};

var preloadElement = powerbi.preload(preloadConfig);

preloadElement.onload(function () {
  console.log("pbie scripts now preloaded into this page");
});


// data required for embedding Power BI report
var embedReportId = "2cf7c5c5-4e1a-4df7-a2a6-21930aeb6fb6";
var embedUrl = "https://app.powerbi.com/reportEmbed?reportId=2cf7c5c5-4e1a-4df7-a2a...";
var accessToken = "H4sIAAAAAAAEAB1WtQ7sCBL8l5fOSmZaaQMzMzszM49xdf9-o8076K7qgn__WOkzzGn...";

// Get models object to access enums for embed configuration
var models = window['powerbi-client'].models;

var config = {
  type: 'report',
  id: embedReportId,
  embedUrl: embedUrl,
  accessToken: accessToken,
  tokenType: models.TokenType.Embed,
};

// Get a reference to the embedded report HTML element
var reportContainer = document.getElementById('embedContainer');

// call load() instead of embed() to load the report while delaying the rendering process
var report = powerbi.load(embedContainer, config);

// when loaded event occurs, set current page then call render()
report.on("loaded", function () {
  console.log("loaded event executing");
  // call to get Pages collection
  report.getPages().then(
    function (pages) {
      // inspect pages in browser console
      console.log(pages);
      // display specific page in report
      var startPage = pages[0]; // this select first page
      config.pageName = startPage.name;
      // Call report.render() to display report
      report.render(config);
    });
});

report.on('rendered', function () {
  console.log("rendered event executing");
});&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Oct 2018 11:56:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/552285#M17228</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2018-10-25T11:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/557620#M17474</link>
      <description>&lt;P&gt;For me neither method works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below throws :&amp;nbsp;&lt;EM&gt;TypeError: element.on is not a function&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;element.on('preloaded', function() {});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The below never fires.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;element.onload(function() {});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone else got this to work, or having the same issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The offical documentation states the following: "&lt;SPAN&gt;A ‘ready’ event will be fired once the preload is completed."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="pl-smi"&gt;element&lt;/SPAN&gt;.&lt;SPAN class="pl-en"&gt;on&lt;/SPAN&gt;(&lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;'&lt;/SPAN&gt;preloaded&lt;SPAN class="pl-pds"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;, &lt;SPAN class="pl-k"&gt;function&lt;/SPAN&gt;() {
   &lt;SPAN class="pl-c"&gt;// do whatever you like here&lt;/SPAN&gt;
});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Phased-Embedding-API" target="_blank"&gt;https://github.com/Microsoft/PowerBI-JavaScript/wiki/Phased-Embedding-API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:30:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/557620#M17474</guid>
      <dc:creator>Dan_Cundy</dc:creator>
      <dc:date>2018-10-31T13:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/557638#M17478</link>
      <description>&lt;P&gt;I just added the same code in another post today. But here is the basic structure that you should use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;// preload preload pbie scripts on this page
var preloadConfig = {
  type: 'report',
  baseUrl: 'https://embedded.powerbi.com/reportEmbed',
};

var preloadElement = powerbi.preload(preloadConfig);

preloadElement.onload(function () {
  console.log("pbie scripts now preloaded into this page");
});


// data required for embedding Power BI report
var embedReportId = "2cf7c5c5-4e1a-4df7-a2a6-2193...";
var embedUrl = "https://app.powerbi.com/reportEmbed?reportId=2cf7c5c..";
var accessToken = "H4sIAAAAAAAEAB1WtQ7sCBL8l5fOSmZaaQMzMzszM49xdf9-o80...";

// Get models object to access enums for embed configuration
var models = window['powerbi-client'].models;

var config = {
  type: 'report',
  id: embedReportId,
  embedUrl: embedUrl,
  accessToken: accessToken,
  tokenType: models.TokenType.Embed,
};

// Get a reference to the embedded report HTML element
var reportContainer = document.getElementById('embedContainer');

// call load() instead of embed() to load the report while delaying the rendering process
var report = powerbi.load(embedContainer, config);

// when loaded event occurs, set current page then call render()
report.on("loaded", function () {
  console.log("loaded event executing");
  // call to get Pages collection
  report.getPages().then(
    function (pages) {
      // inspect pages in browser console
      console.log(pages);
      // display specific page in report
      var startPage = pages[0]; // this select first page
      config.pageName = startPage.name;
      // Call report.render() to display report
      report.render(config);
    });
});&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:47:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/557638#M17478</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2018-10-31T13:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/557665#M17479</link>
      <description>&lt;P&gt;I can see your code differs from their example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are suggesting you create your config like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="pl-c"&gt;// Create embedding config&lt;/SPAN&gt;
&lt;SPAN class="pl-k"&gt;var&lt;/SPAN&gt; config&lt;SPAN class="pl-k"&gt;=&lt;/SPAN&gt; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;type&lt;SPAN class="pl-k"&gt;:&lt;/SPAN&gt; &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;'&lt;/SPAN&gt;report&lt;SPAN class="pl-pds"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;embedUrl&lt;SPAN class="pl-k"&gt;:&lt;/SPAN&gt; &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;'.....&lt;/SPAN&gt;&lt;SPAN class="pl-pds"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;,
};&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that you are using baseUrl instead.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going to give that a go and see what happens..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 14:23:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/557665#M17479</guid>
      <dc:creator>Dan_Cundy</dc:creator>
      <dc:date>2018-10-31T14:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/557816#M17480</link>
      <description>&lt;P&gt;Okay so my problem was I needed to wrap the element object like below due to it not being JQuery object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  $(PreloadElement).on('preloaded', function() {
         console.log("scripts now preloaded into this page");
    });&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Oct 2018 17:34:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/557816#M17480</guid>
      <dc:creator>Dan_Cundy</dc:creator>
      <dc:date>2018-10-31T17:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/598407#M18188</link>
      <description>Hi, I tried this solution, but its not working. The official documentation states the following: "A ‘ready’ event will be fired once the preload is completed." but its not happening. I am not getting any error also.</description>
      <pubDate>Thu, 10 Jan 2019 14:06:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/598407#M18188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-10T14:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/599254#M18199</link>
      <description>&lt;P&gt;Can you post the code that is not working?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 16:40:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/599254#M18199</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2019-01-11T16:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/600694#M18225</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find code;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var preloadConfig = {
  type: 'report',
  baseUrl:'https://app.powerbi.com/reportEmbed',
};

var preloadElement = powerbi.preload(preloadConfig);

preloadElement.onload(function () {
	  console.log("pbie scripts now preloaded into this page");
	});

var accessToken = data.embededToken;
var embedUrl = data.embedUrl; 
var embedReportId = data.reportId;

var models = window['powerbi-client'].models;
var config = {
	type: 'report',
	tokenType: models.TokenType.Embed,
	accessToken: accessToken,
	embedUrl: embedUrl,
	viewMode: models.ViewMode.View,
	id: embedReportId,
	settings: {
		filterPaneEnabled: false,
		background: models.BackgroundType.Transparent
	}
};

// Get a reference to the embedded dashboard HTML element
var reportContainer = $('#reportHolder')[0];

// Embed the dashboard and display it within the div container.
var report = powerbi.load(reportContainer,config);
report.fullscreen();

// when loaded event occurs, set current page then call render()
report.on("loaded", function () {
  console.log("loaded event executing");
  // call to get Pages collection
  report.getPages().then(
	function (pages) {
	  // inspect pages in browser console
	  console.log(pages);
	  // display specific page in report
	  var startPage = pages[0]; // this select first page
	  config.pageName = startPage.name;
	  // Call report.render() to display report
	  report.render(config);
	});
});

report.on('rendered', function () {
	  console.log("rendered event executing");
	});&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jan 2019 05:26:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/600694#M18225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-15T05:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/601084#M18230</link>
      <description>&lt;P&gt;I cannot see any problems with your code. However, I executedthe code below and the &lt;STRONG&gt;rendered&lt;/STRONG&gt; event handler fires as expected. I am not able to reproduce the problem where the&amp;nbsp;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;rendered&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;event handler&amp;nbsp;does not fire.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;// data required for embedding Power BI report
var embedReportId = "@Model.reportId";
var embedUrl = "@Model.embedUrl";
var accessToken = "@Model.accessToken";

// Get models object to access enums for embed configuration
var models = window['powerbi-client'].models;

var config = {
  type: 'report',
  id: embedReportId,
  embedUrl: embedUrl,
  accessToken: accessToken,
  tokenType: models.TokenType.Embed,
  permissions: models.Permissions.All,
  viewMode: models.ViewMode.View,
  settings: {
    filterPaneEnabled: false,
    navContentPaneEnabled: true,
  }
};

// Get a reference to HTML element that will be embed container
var reportContainer = document.getElementById('embedContainer');

// Embed the report and display it within the div container.
var report = powerbi.load(reportContainer, config);

console.log(report);

report.on("loaded", function (event) {
  console.log("loaded: " + event);
  report.getPages().then(
    function (pages) {
      // inspect pages in browser console
      console.log(pages);
      // display specific page in report
      var startPage = pages[0]; // this select first page
      config.pageName = startPage.name;
      // Call report.render() to display report
      report.render(config);
    });
});

report.on("rendered", function (event) {
  console.log("rendered: " + event);
});&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jan 2019 13:21:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/601084#M18230</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2019-01-15T13:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/602082#M18246</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok Thank you. I have one more doubt, what should I use instead of powerbi.embedNew()?&lt;/P&gt;&lt;P&gt;We are using embed.New() for&amp;nbsp;Replacing the current embedded report with new one on same page.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:16:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/602082#M18246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-16T14:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/602115#M18247</link>
      <description>&lt;P&gt;To add a new embedded object into a div that already contains a exisitng embedded object, i have been using this code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;powerbi.reset(embedContainer);
powerbi.embed(embedContainer, config);&lt;/PRE&gt;&lt;P&gt;Add I looked at the Power BI JavaScript API today, I noticed there is a new method on root &lt;STRONG&gt;powerbi&lt;/STRONG&gt; object named&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;addOrOverwriteEmbed.&lt;/STRONG&gt;&amp;nbsp;I have not used that, but I am curious as to whether that can be used in this scenario as well.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:45:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/602115#M18247</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2019-01-16T14:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/776052#M20524</link>
      <description>&lt;P&gt;I'm getting the same issues as everyone else. One thing I noticed in your code is that you use the baseUrl at "https://embedded.... not https://api as the docs suggest. Can you explain this? However even when I altered my url to "embedded" it still didn't work.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 19:26:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/776052#M20524</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-26T19:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/818291#M21101</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the example, event handler of &lt;STRONG&gt;powerbi.preload&lt;/STRONG&gt;( config) is not getting fired. Is there any solution to it?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 10:35:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/818291#M21101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-15T10:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/2599444#M36941</link>
      <description>&lt;P&gt;The above the woking, but report is not loaded in power bi playground&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 05:51:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/2599444#M36941</guid>
      <dc:creator>adamsaffi</dc:creator>
      <dc:date>2022-06-24T05:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Phased Embedding API with Preload error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/2599505#M36942</link>
      <description>&lt;P&gt;Change the code like this&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var element = powerbi.preload(config_pre);
$(element).on('preloaded', function() {
  var report = powerbi.embed(reportContainer, config);
});&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Jun 2022 06:16:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Phased-Embedding-API-with-Preload-error/m-p/2599505#M36942</guid>
      <dc:creator>adamsaffi</dc:creator>
      <dc:date>2022-06-24T06:16:38Z</dc:date>
    </item>
  </channel>
</rss>

