<?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: Problem with updating an existing visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312878#M9252</link>
    <description>&lt;P&gt;Yeah, I just created an issue. Let's hope this can be solved in one of the future versions.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2017 17:02:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-28T17:02:46Z</dc:date>
    <item>
      <title>Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312701#M9236</link>
      <description>&lt;P&gt;We are developing a custom visual and are having problems with deploying new versions. Here's what we are doing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. We have an existing visual, let's say that the version is 1.0.0.&lt;/P&gt;&lt;P&gt;2. We add some new functionality to it.&lt;/P&gt;&lt;P&gt;3. We increase the version number, let's say to 1.0.1.&lt;/P&gt;&lt;P&gt;4. We package the visual using pbiviz package.&lt;/P&gt;&lt;P&gt;5. We deliver the visual to a end user who imports the visual to the Power BI online.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Until now everything works just fine and the visual on the report, where he imported the visual, work fine. That is: the new version of the visual is shown. However, if the end user now saves the report and reloads the page (or comes back to it later), the report is using the old visual again. Sometimes this reverts not only to the previous version but even to a much older version of the visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that this is the same issue as this one for the Desktop version of Power BI:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.powerbi.com/t5/Developer/Problems-updating-Custom-Visuals-in-Power-BI-Desktop/m-p/31810/highlight/true#M942" target="_blank"&gt;http://community.powerbi.com/t5/Developer/Problems-updating-Custom-Visuals-in-Power-BI-Desktop/m-p/31810/highlight/true#M942&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Increasing the GUID is not really an option since it would mean that the end user now has to redo all the reports that were done with the previous version of the visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Isn't there a way to offer a smooth upgrade process for custom visuals?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 13:13:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312701#M9236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-28T13:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312744#M9240</link>
      <description>&lt;P&gt;The uploaded code of all custom visuals are saved with the report and used by the report: so uploading a new version of your visual will overwrite the old version and a save will persist this version with the report.&lt;/P&gt;&lt;P&gt;This works for all custom visuals, but a little bit different for the official published custom visuals in the Office Store: those are downloaded from the Power BI CDN (Content Delivery Network) and used&amp;nbsp;in the report. For speed and reliability these visuals are also cached locally, so it will take some time before a new version of a visual is being used by everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So as long as you are not altering a published custom visual (or reuse the GUID), you could easily update a new version of a visual by uploading the pbiviz package and save the report. Reopening should use the new visual. There could be the case that the report is using the cached version and not the 'embedded' version. Clearing the browser/desktop cache will solve the problem directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And as best practise: keep the visual GUID always the same and make sure that your new visual can handle the change in functionality.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 14:00:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312744#M9240</guid>
      <dc:creator>jppp</dc:creator>
      <dc:date>2017-11-28T14:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312754#M9242</link>
      <description>&lt;P&gt;We upload the new visual, save the report then reload the page.&amp;nbsp; After the reload the report uses the old visual again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Clearing the cache does not help. It seems like the problem is server side - maybe the visual is not correctly updated on the server since other reports still use the old visual? Or something along those lines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We do keep the GUID the same. I just mentioned changing the&amp;nbsp;GUID because in some other topics (especially for the Desktop version of Power BI), users mentioned that changing the GUID does seem to solve the problem. We did try that and it indeed does solve the problem, but this is not really the solution since our end users would need to update the existing reports to use the new visual.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 14:22:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312754#M9242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-28T14:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312765#M9243</link>
      <description>&lt;P&gt;Strange that it is not working for you; I haven't&amp;nbsp;seen that behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks to me like the save operation of the report is not&amp;nbsp;finished correctly.&lt;/P&gt;&lt;P&gt;Is it happening to all users? Maybe the javascript console provides some additional information.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 14:37:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312765#M9243</guid>
      <dc:creator>jppp</dc:creator>
      <dc:date>2017-11-28T14:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312787#M9245</link>
      <description>&lt;P&gt;We found out a bit more about this problem. Here are the steps to reproduce:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;Create a new visual that just displays the version number. So at the start our visual just displayed 1.0.0.&lt;/P&gt;&lt;P&gt;2. Create a report, import the visual and add it to the report.&lt;/P&gt;&lt;P&gt;3. &lt;STRONG&gt;Pin this visual to a dashboard&lt;/STRONG&gt;. It seems that this is the step that causes the problems with updating. As long as the custom visual is pinned to any dashboards it cannot be updated.&lt;/P&gt;&lt;P&gt;4. Create a new version of the visual displaying 1.0.1.&lt;/P&gt;&lt;P&gt;5. Import the visual to the report and save it.&lt;/P&gt;&lt;P&gt;6. Refresh and you will see the old 1.0.0 visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that the pinned visual somehow prevents the updating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can now go to dashboards and delete the dashboard that has the visual and the visual on the report will now update and correctly show 1.0.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 15:03:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312787#M9245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-28T15:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312810#M9248</link>
      <description>&lt;P&gt;Oke, I know that visuals on dashboards are being cached and maybe that is causing this behavior.&lt;/P&gt;&lt;P&gt;Is the report also using the old visual when you hit the data refresh icon after you reload the report after step 6?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 15:26:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312810#M9248</guid>
      <dc:creator>jppp</dc:creator>
      <dc:date>2017-11-28T15:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312817#M9249</link>
      <description>&lt;P&gt;Yes, the report also shows the old visual.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 15:32:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312817#M9249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-28T15:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312824#M9250</link>
      <description>&lt;P&gt;Hmmm, too bad. Probably only time will make the new version appear, but who will tell...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably it is better to raise this issue with the Power BI team. Maybe send a frown?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 15:46:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312824#M9250</guid>
      <dc:creator>jppp</dc:creator>
      <dc:date>2017-11-28T15:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312878#M9252</link>
      <description>&lt;P&gt;Yeah, I just created an issue. Let's hope this can be solved in one of the future versions.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 17:02:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/312878#M9252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-28T17:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/314446#M9306</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;I'm wondering if you have already sent the frown in Power BI Desktop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&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;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 07:46:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/314446#M9306</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-11-30T07:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/314463#M9307</link>
      <description>&lt;P&gt;The frown redirected me to the issues page so I created an issue here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.powerbi.com/t5/Issues/Custom-visuals-can-not-be-updated-if-they-are-pinned-to-a/idi-p/312875" target="_blank"&gt;http://community.powerbi.com/t5/Issues/Custom-visuals-can-not-be-updated-if-they-are-pinned-to-a/idi-p/312875&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if this is what you meant?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 08:03:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/314463#M9307</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-30T08:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating an existing visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/315267#M9331</link>
      <description>&lt;P&gt;Thank you for sharing the link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&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;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 06:56:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-updating-an-existing-visual/m-p/315267#M9331</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-12-01T06:56:24Z</dc:date>
    </item>
  </channel>
</rss>

