<?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: How to see the DOM of a custom R HTML visual? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-see-the-DOM-of-a-custom-R-HTML-visual/m-p/2006564#M31015</link>
    <description>&lt;P&gt;To add to this, R visuals are a little different to regular (TypeScript) visuals. There is boilerplate TypeScript code that hosts the visual, just like a regular one, but the R code is delegated elsewhere (local R on your machine, or a MS-hosted version of R in the Service).&lt;/P&gt;
&lt;P&gt;With the visual DOM, you can indeed inspect the visual in the Service using your browser tools.&lt;/P&gt;
&lt;P&gt;For a standard R visual, this is a static image that is base64 encoded, e.g.:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dmp_0-1628538420275.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/569773iC1CE206B67335DF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="dmp_0-1628538420275.png" alt="dmp_0-1628538420275.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For an RHTML visual, Power BI will convert the resulting respons from the R interpreter and add the generated HTML to the DOM, e.g.:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dmp_1-1628538679779.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/569774iF2CDF2C40E65B030/image-size/large?v=v2&amp;amp;px=999" role="button" title="dmp_1-1628538679779.png" alt="dmp_1-1628538679779.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 09 Aug 2021 19:52:44 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2021-08-09T19:52:44Z</dc:date>
    <item>
      <title>How to see the DOM of a custom R HTML visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-see-the-DOM-of-a-custom-R-HTML-visual/m-p/2004028#M30976</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; In &lt;A href="https://community.powerbi.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2001016#M30933" target="_blank" rel="noopener"&gt;this question&lt;/A&gt;, the OP is able to see the DOM of a custom visual in an &lt;STRONG&gt;iframe&lt;/STRONG&gt;. How can we do that? I'm doing custom R HTML visuals with &lt;STRONG&gt;pbiviz&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Aug 2021 13:20:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-see-the-DOM-of-a-custom-R-HTML-visual/m-p/2004028#M30976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-08T13:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to see the DOM of a custom R HTML visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-see-the-DOM-of-a-custom-R-HTML-visual/m-p/2006139#M31006</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing a custom visualization from scratch.&amp;nbsp; In order to run and view your visualization that's under development, there are quite a few steps you go through to "link" your local development environment to powerbi.com.&amp;nbsp; The viewing of the custom visualization is done by editing a powerbi file that has been uploaded and adding the "developer visual".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To see the DOM of your R visual, I don't see a reason why you couldn't upload your Power BI analysis file to your workspace on powerbi.com.&amp;nbsp; &amp;nbsp;Viewing your visualization there, will allow you to use the browsers developer tools to inspect the DOM and even see possible errors in the console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp; I know that's a lot of work to see the DOM, but there is no way of viewing it that I know of in the desktop software.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;William&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 14:54:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-see-the-DOM-of-a-custom-R-HTML-visual/m-p/2006139#M31006</guid>
      <dc:creator>WZorn</dc:creator>
      <dc:date>2021-08-09T14:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to see the DOM of a custom R HTML visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-see-the-DOM-of-a-custom-R-HTML-visual/m-p/2006564#M31015</link>
      <description>&lt;P&gt;To add to this, R visuals are a little different to regular (TypeScript) visuals. There is boilerplate TypeScript code that hosts the visual, just like a regular one, but the R code is delegated elsewhere (local R on your machine, or a MS-hosted version of R in the Service).&lt;/P&gt;
&lt;P&gt;With the visual DOM, you can indeed inspect the visual in the Service using your browser tools.&lt;/P&gt;
&lt;P&gt;For a standard R visual, this is a static image that is base64 encoded, e.g.:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dmp_0-1628538420275.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/569773iC1CE206B67335DF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="dmp_0-1628538420275.png" alt="dmp_0-1628538420275.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For an RHTML visual, Power BI will convert the resulting respons from the R interpreter and add the generated HTML to the DOM, e.g.:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dmp_1-1628538679779.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/569774iF2CDF2C40E65B030/image-size/large?v=v2&amp;amp;px=999" role="button" title="dmp_1-1628538679779.png" alt="dmp_1-1628538679779.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 19:52:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-see-the-DOM-of-a-custom-R-HTML-visual/m-p/2006564#M31015</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-08-09T19:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to see the DOM of a custom R HTML visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-see-the-DOM-of-a-custom-R-HTML-visual/m-p/2016321#M31118</link>
      <description>&lt;P&gt;Ah ok, I can open the report on app.power.bi.com, and here I have "Inspect element".&lt;/P&gt;</description>
      <pubDate>Sat, 14 Aug 2021 07:47:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-see-the-DOM-of-a-custom-R-HTML-visual/m-p/2016321#M31118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-14T07:47:07Z</dc:date>
    </item>
  </channel>
</rss>

