<?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 Using powerbi-client in pure javascript in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Using-powerbi-client-in-pure-javascript/m-p/818500#M21106</link>
    <description>&lt;P&gt;I have spent several days trying to find a simple example of using powerbi-client in a pure javascript module. No .NET no C# no "look at the docs created from the code"&lt;BR /&gt;All I want is something like...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;import * as pbiClient from "powerbi-client"&lt;BR /&gt;&lt;BR /&gt;// list available reports&lt;/P&gt;&lt;P&gt;let reports = pbiClient.service.getReports(url, config);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// show a report in a given iframe&lt;/P&gt;&lt;P&gt;let report = pbiClient.Report(required, properties, ...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// Detect events in the report...&lt;/P&gt;&lt;P&gt;report.addHandler(function)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not been able to find anything. I am repeatedly sent to examples written in Visual Studio and C# or sent to the docs generated from typescript or "demos" that dont help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can eventually derive how to do it reading the tsdoc for the code with trial and error and guess work ... but thats time consuming and painful.&lt;BR /&gt;Does anyone know of any simple examples I can use for reference?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2019 14:56:00 GMT</pubDate>
    <dc:creator>ajelcocks</dc:creator>
    <dc:date>2019-10-15T14:56:00Z</dc:date>
    <item>
      <title>Using powerbi-client in pure javascript</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-powerbi-client-in-pure-javascript/m-p/818500#M21106</link>
      <description>&lt;P&gt;I have spent several days trying to find a simple example of using powerbi-client in a pure javascript module. No .NET no C# no "look at the docs created from the code"&lt;BR /&gt;All I want is something like...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;import * as pbiClient from "powerbi-client"&lt;BR /&gt;&lt;BR /&gt;// list available reports&lt;/P&gt;&lt;P&gt;let reports = pbiClient.service.getReports(url, config);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// show a report in a given iframe&lt;/P&gt;&lt;P&gt;let report = pbiClient.Report(required, properties, ...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// Detect events in the report...&lt;/P&gt;&lt;P&gt;report.addHandler(function)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not been able to find anything. I am repeatedly sent to examples written in Visual Studio and C# or sent to the docs generated from typescript or "demos" that dont help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can eventually derive how to do it reading the tsdoc for the code with trial and error and guess work ... but thats time consuming and painful.&lt;BR /&gt;Does anyone know of any simple examples I can use for reference?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 14:56:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-powerbi-client-in-pure-javascript/m-p/818500#M21106</guid>
      <dc:creator>ajelcocks</dc:creator>
      <dc:date>2019-10-15T14:56:00Z</dc:date>
    </item>
  </channel>
</rss>

