<?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: Custom visual with external library in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/192298#M6119</link>
    <description>&lt;P&gt;Adding typings is just for the sake, that you will get intellisense for respective methods in given object.&lt;/P&gt;&lt;P&gt;If you don't need to have this, then you can directly go with solution as&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/11389"&gt;@v-chuncz-msft&lt;/a&gt;&amp;nbsp;mentioned.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jun 2017 10:22:19 GMT</pubDate>
    <dc:creator>kuldeep_kumar</dc:creator>
    <dc:date>2017-06-12T10:22:19Z</dc:date>
    <item>
      <title>Custom visual with external library</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/191716#M6091</link>
      <description>&lt;P&gt;I am trying to develop a custom visual using d3-hierarchy (&lt;A href="https://github.com/d3/d3-hierarchy" target="_blank"&gt;https://github.com/d3/d3-hierarchy&lt;/A&gt;). I've installed both the library and the typings using npm into the node_modules folder, and added the files to the tsconfig.json and pbiviz.json.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to import the module, both VS Code and the TS compiler complain that they can't find a module called d3-hierarchy. Strangely, I get auto complete in VS Code for the library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I set up my environment so I can use d3-hierarchy?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/45113i118900D08636A4C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2017 07:52:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/191716#M6091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-10T07:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual with external library</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/191785#M6094</link>
      <description>&lt;P&gt;If I am not wrong, you don't need to import the module.&lt;/P&gt;&lt;P&gt;Just define lib in global dependencies in typings.json as it is done &lt;A href="https://github.com/Microsoft/PowerBI-visuals-sampleBarChart/blob/f5ef02a5851c98671b46fedc1e7f7e7133001d7c/typings.json" target="_self"&gt;here &lt;/A&gt;for d3 .&lt;/P&gt;&lt;P&gt;To use this library in your file , define variable with same name where ever you want to use this lib.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2017 05:04:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/191785#M6094</guid>
      <dc:creator>kuldeep_kumar</dc:creator>
      <dc:date>2017-06-11T05:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual with external library</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/192160#M6110</link>
      <description>&lt;P&gt;Thank you for your answer. I don't understand yet what string I have to enter. I included a screenshot of my typings.json&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="typings.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/45222iF3AAFF2158C40664/image-size/large?v=v2&amp;amp;px=999" role="button" title="typings.PNG" alt="typings.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked into the github repository, but the string for d3 doesn't match the repositories structure, so I'm at a bit of a loss here &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 08:07:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/192160#M6110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-12T08:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual with external library</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/192248#M6114</link>
      <description>&lt;P&gt;I hope &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Tutorial/Typings.md" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;might help.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 09:31:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/192248#M6114</guid>
      <dc:creator>kuldeep_kumar</dc:creator>
      <dc:date>2017-06-12T09:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual with external library</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/192288#M6117</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may check the following link.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Adding-a-static-js-script-to-a-custom-visualization/td-p/104957" target="_blank"&gt;https://community.powerbi.com/t5/Developer/Adding-a-static-js-script-to-a-custom-visualization/td-p/104957&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 10:04:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/192288#M6117</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-06-12T10:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual with external library</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/192298#M6119</link>
      <description>&lt;P&gt;Adding typings is just for the sake, that you will get intellisense for respective methods in given object.&lt;/P&gt;&lt;P&gt;If you don't need to have this, then you can directly go with solution as&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/11389"&gt;@v-chuncz-msft&lt;/a&gt;&amp;nbsp;mentioned.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 10:22:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/192298#M6119</guid>
      <dc:creator>kuldeep_kumar</dc:creator>
      <dc:date>2017-06-12T10:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual with external library</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/193200#M6157</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current version of Power BI Visuals Tools don't support ES2015 (import/export) module system.&lt;/P&gt;&lt;P&gt;In other words, you should use another type definisitions that doesn't use ES2015.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:13:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-with-external-library/m-p/193200#M6157</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-06-13T13:13:27Z</dc:date>
    </item>
  </channel>
</rss>

