<?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 custom visual is allways not loading in power bi javascript api in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/custom-visual-is-allways-not-loading-in-power-bi-javascript-api/m-p/74976#M2544</link>
    <description>&lt;P&gt;I have troubles sometimes loading my reportis with power bi javascript api.&lt;/P&gt;&lt;P&gt;Sometimes they do open.&lt;/P&gt;&lt;P&gt;&lt;img&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;WindowsPostMessageProxy message shoud allway be object type, sometimes it is a string. there lies my problem. Why is it string?&lt;/P&gt;&lt;P&gt;And when it is tring i get this warning and report is not loaded.&lt;/P&gt;&lt;P&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Any ideas ?&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;</description>
    <pubDate>Tue, 04 Oct 2016 21:18:23 GMT</pubDate>
    <dc:creator>mikihiir</dc:creator>
    <dc:date>2016-10-04T21:18:23Z</dc:date>
    <item>
      <title>custom visual is allways not loading in power bi javascript api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/custom-visual-is-allways-not-loading-in-power-bi-javascript-api/m-p/74976#M2544</link>
      <description>&lt;P&gt;I have troubles sometimes loading my reportis with power bi javascript api.&lt;/P&gt;&lt;P&gt;Sometimes they do open.&lt;/P&gt;&lt;P&gt;&lt;img&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;WindowsPostMessageProxy message shoud allway be object type, sometimes it is a string. there lies my problem. Why is it string?&lt;/P&gt;&lt;P&gt;And when it is tring i get this warning and report is not loaded.&lt;/P&gt;&lt;P&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Any ideas ?&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;</description>
      <pubDate>Tue, 04 Oct 2016 21:18:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/custom-visual-is-allways-not-loading-in-power-bi-javascript-api/m-p/74976#M2544</guid>
      <dc:creator>mikihiir</dc:creator>
      <dc:date>2016-10-04T21:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: custom visual is allways not loading in power bi javascript api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/custom-visual-is-allways-not-loading-in-power-bi-javascript-api/m-p/76042#M2600</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="8497" data-lia-user-login="mikihiir" class="lia-mention lia-mention-user"&gt;mikihiir﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on my research, you could try to insert a code snippet to parse the JSON string.&lt;/P&gt;&lt;PRE&gt;if (typeof message === "string") {
    console.log("parse a JSON string");
    // message = eval('(' + message + ')');
    message = JSON.parse(message);
}&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Oct 2016 05:40:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/custom-visual-is-allways-not-loading-in-power-bi-javascript-api/m-p/76042#M2600</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2016-10-07T05:40:06Z</dc:date>
    </item>
  </channel>
</rss>

