<?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: Updated rhtml template? in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Updated-rhtml-template/m-p/643326#M1898</link>
    <description>&lt;P&gt;I've updated node and TypeScript, but the problem lies within powerbi-visuals-tools@beta (3.0.12).&amp;nbsp; I'm able to get the stock visual template to compile and load into Power BI, but I have yet to find a way to get any custom R visuals to render and the rhtml template fails to compile with the provided tools.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 19:58:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-12T19:58:11Z</dc:date>
    <item>
      <title>Updated rhtml template?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Updated-rhtml-template/m-p/639778#M1877</link>
      <description>&lt;P&gt;Can anyone provide some guidance on building a basic rhtml visual?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to upgrade one of my custom visuals from the 1.12.0 api to 2.2.2.&amp;nbsp; I'm ultimately trying to make the jump to v3.0, but am hoping that understanding how to adapt to v2.2 will make the jump to v3.0 easier.&amp;nbsp; Due to the ugly state of the custom visuals tutorials, I'm in over my head with trying to modify my existing files, so I'm trying to start again from scratch.&amp;nbsp; I've tried creating a barebones visual following&amp;nbsp;&lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/RVisualTutorial/CreateRHTML.md" target="_blank" rel="noopener"&gt;https://github.com/Microsoft/PowerBI-visuals/blob/master/RVisualTutorial/CreateRHTML.md&lt;/A&gt; by running:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;pbiviz new sampleRHTMLVisual -t rhtml&lt;BR /&gt;cd&amp;nbsp;sampleRHTMLVisual&lt;BR /&gt;pbiviz&amp;nbsp;package&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This then bombs out with:&lt;/P&gt;&lt;PRE&gt;PS C:\Users\foo\sampleRHTMLVisual&amp;gt; pbiviz package
 info   Building visual...
 info   Start preparing plugin template
(node:22948) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
 info   Finish preparing plugin template


 ERROR  Failed to compile with 1 errors                                                                                                                                                                         3:54:44 PM
 error  in C:\Users\foo\sampleRHTMLVisual\.tmp\precompile\visualPlugin.ts

[tsl] ERROR in C:\Users\foo\sampleRHTMLVisual\.tmp\precompile\visualPlugin.ts(1,10)
      TS2305: Module '"C:/Users/foo/sampleRHTMLVisual/src/visual"' has no exported member 'Visual'.

 info   Package created&lt;/PRE&gt;&lt;PRE&gt;PS C:\Users\foo\sampleRHTMLVisual&amp;gt; pbiviz info
 info   visual.name.................. sampleRHTMLVisual
 info   visual.displayName........... sampleRHTMLVisual
 info   visual.guid.................. sampleRHTMLVisualFD5DB360EB6347DAB2B06990D9A98AE1
 info   visual.visualClassName....... Visual
 info   visual.version............... 1.0.0
 info   visual.description...........
 info   visual.supportUrl............
 info   visual.gitHubUrl.............
 info   apiVersion................... 2.2.0
 info   author.name..................
 info   author.email.................
 info   assets.icon.................. assets/icon.png
 info   style........................ style/visual.less
 info   capabilities................. capabilities.json
 info   dependencies................. dependencies.json
 info   stringResources.............. []&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 21:04:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Updated-rhtml-template/m-p/639778#M1877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T21:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Updated rhtml template?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Updated-rhtml-template/m-p/642010#M1887</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably, you should update Node,js or/and Typescript package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 15:00:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Updated-rhtml-template/m-p/642010#M1887</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-03-11T15:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Updated rhtml template?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Updated-rhtml-template/m-p/643326#M1898</link>
      <description>&lt;P&gt;I've updated node and TypeScript, but the problem lies within powerbi-visuals-tools@beta (3.0.12).&amp;nbsp; I'm able to get the stock visual template to compile and load into Power BI, but I have yet to find a way to get any custom R visuals to render and the rhtml template fails to compile with the provided tools.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 19:58:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Updated-rhtml-template/m-p/643326#M1898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-12T19:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Updated rhtml template?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Updated-rhtml-template/m-p/644127#M1904</link>
      <description>&lt;P&gt;Could you please share a source code?&lt;/P&gt;&lt;P&gt;I can try to build and figure out what is wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can provide a source code, please send a link or files to&amp;nbsp;pbicvsupport@microsoft.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 13:00:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Updated-rhtml-template/m-p/644127#M1904</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-03-13T13:00:17Z</dc:date>
    </item>
  </channel>
</rss>

