<?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: Visuals in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Visuals/m-p/2607011#M37047</link>
    <description>&lt;P&gt;i had issues with the dataViewMapping and now its working. The Exception handling was kinda helping but its not that ez to read if you just coded c#, python and java applications with good compiling programms.&lt;/P&gt;&lt;P&gt;Thank you for your Help!&lt;BR /&gt;Kind regards ,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2022 13:13:07 GMT</pubDate>
    <dc:creator>LukasSchlechter</dc:creator>
    <dc:date>2022-06-28T13:13:07Z</dc:date>
    <item>
      <title>Visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Visuals/m-p/2601772#M36968</link>
      <description>&lt;P&gt;Update methode isnt loading when im updating my visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to Create my own Visuals and im a bit new to the whole Power-bi/ Visual things.&lt;/P&gt;&lt;P&gt;I already set up a test-Dataset and a test Visual but im stuck to the point where all i do in the Update Methode isn´t working (the Dubugging is Hell on earth). I´ve tried to figure out where the update methode is called but without any success. in conclusion my update methode isnt called in any way...&lt;/P&gt;&lt;P&gt;Thx for the Help!&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jun 2022 14:38:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Visuals/m-p/2601772#M36968</guid>
      <dc:creator>LukasSchlechter</dc:creator>
      <dc:date>2022-06-25T14:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Visuals/m-p/2602315#M36973</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/405568"&gt;@LukasSchlechter&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Your visual's &lt;FONT face="courier new,courier"&gt;update()&lt;/FONT&gt; method is called when you have supplied the necessary conditions to satisfy your &lt;FONT face="courier new,courier"&gt;dataViewMapping&lt;/FONT&gt;; the exception being unless you are using &lt;FONT face="courier new,courier"&gt;supportsEmptyDataView&lt;/FONT&gt; in conjunction with &lt;FONT face="courier new,courier"&gt;supportsLandingPage&lt;/FONT&gt; &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/no-dataroles-support?tabs=NoDataroles" target="_self"&gt;to have no data binding&lt;/A&gt;. In this case, the update method will fire as soon as the visual is instantiated, and thereafter for the scenarios outlined &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/power-bi-visuals-concept" target="_self"&gt;in the diagram here&lt;/A&gt;, as expected.&lt;/P&gt;
&lt;P&gt;If you've ruled out the data binding potentially being incorrect, the next thing I'd look at is seeing if any errors are being &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/visuals-how-to-debug?tabs=Edge#:~:text=you%27ll%20notice%20that%20all%20errors%20are%20%27consumed%27%20by%20the%20Power%20BI%20service" target="_self"&gt;suppressed by the developer visual&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;An easy way to investigate is to use a try/catch block to identify the error to see if anything's being suppressed, and possibly to step through &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/visuals-how-to-debug?tabs=Edge#using-breakpoints" target="_self"&gt;using the &lt;FONT face="courier new,courier"&gt;debugger&lt;/FONT&gt; statement&lt;/A&gt; in your code before any suspect lines (or even right as the update method is triggered, just to confirm it. I often also use &lt;FONT face="courier new,courier"&gt;console.debug()&lt;/FONT&gt; in code I'm trying out to ensure that the right methods are being hit, without interruptng my workflow too much.&lt;/P&gt;
&lt;P&gt;If you're sure that the above starting points are not applicable to you, then ideally you'll need to share your code with us (preferably as a repository, so we can verify the combination of packages, capabilities and code to see if there's anything else that stands out.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 20:34:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Visuals/m-p/2602315#M36973</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2022-06-26T20:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Visuals/m-p/2607011#M37047</link>
      <description>&lt;P&gt;i had issues with the dataViewMapping and now its working. The Exception handling was kinda helping but its not that ez to read if you just coded c#, python and java applications with good compiling programms.&lt;/P&gt;&lt;P&gt;Thank you for your Help!&lt;BR /&gt;Kind regards ,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 13:13:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Visuals/m-p/2607011#M37047</guid>
      <dc:creator>LukasSchlechter</dc:creator>
      <dc:date>2022-06-28T13:13:07Z</dc:date>
    </item>
  </channel>
</rss>

