<?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: Different Values in Update Function's options.type in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Different-Values-in-Update-Function-s-options-type/m-p/2925316#M39928</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;254&lt;/FONT&gt; is currently unknown to us from an API perspective, and it is assumed that it is the first update based on analysis. &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/issues/422" target="_self"&gt;There is an issue here tracking it&lt;/A&gt;, so you are welcome to add your feedback here. I ask MS to address it any time I get an opportunity to check-in with the team for support and it's still ongoing. The issue also shows a (somewhat hacky) way of type checking it.&lt;/P&gt;
&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;36&lt;/FONT&gt; type isn't explicitly mentioned in the above issue, but this appears to be a bug in the API with the enum and it should either be &lt;FONT face="courier new,courier"&gt;32&lt;/FONT&gt;, or the API needs to be changed to match it. &lt;A href="https://github.com/microsoft/powerbi-visuals-api/pull/38" target="_self"&gt;I created a PR here for that proposed change&lt;/A&gt; which has again been sitting there for MS to approve.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 20:14:21 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2022-11-23T20:14:21Z</dc:date>
    <item>
      <title>Different Values in Update Function's options.type</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Different-Values-in-Update-Function-s-options-type/m-p/2922710#M39898</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While developing a custom visual, I noticed the update function's option.type property contains values that are not defined in the TypeScript definitions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the very first load, the type has a value of 254. The ResizeEnd value is 36 instead of 32.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does 254 mean the first load?&lt;/P&gt;&lt;P&gt;This is what I have as the type definitions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const enum VisualUpdateType {
        Data = 2,
        Resize = 4,
        ViewMode = 8,
        Style = 16,
        ResizeEnd = 32,
        All = 62,
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 21:30:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Different-Values-in-Update-Function-s-options-type/m-p/2922710#M39898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-22T21:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Different Values in Update Function's options.type</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Different-Values-in-Update-Function-s-options-type/m-p/2923995#M39913</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, 254 should be the VisualupdateType which should be supplied in the VisualUpdateOptions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 09:43:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Different-Values-in-Update-Function-s-options-type/m-p/2923995#M39913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-23T09:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Different Values in Update Function's options.type</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Different-Values-in-Update-Function-s-options-type/m-p/2925316#M39928</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;254&lt;/FONT&gt; is currently unknown to us from an API perspective, and it is assumed that it is the first update based on analysis. &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/issues/422" target="_self"&gt;There is an issue here tracking it&lt;/A&gt;, so you are welcome to add your feedback here. I ask MS to address it any time I get an opportunity to check-in with the team for support and it's still ongoing. The issue also shows a (somewhat hacky) way of type checking it.&lt;/P&gt;
&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;36&lt;/FONT&gt; type isn't explicitly mentioned in the above issue, but this appears to be a bug in the API with the enum and it should either be &lt;FONT face="courier new,courier"&gt;32&lt;/FONT&gt;, or the API needs to be changed to match it. &lt;A href="https://github.com/microsoft/powerbi-visuals-api/pull/38" target="_self"&gt;I created a PR here for that proposed change&lt;/A&gt; which has again been sitting there for MS to approve.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 20:14:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Different-Values-in-Update-Function-s-options-type/m-p/2925316#M39928</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2022-11-23T20:14:21Z</dc:date>
    </item>
  </channel>
</rss>

