<?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 Disabling a custom visual Format'menu custom objects property  after changing state of second object in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Disabling-a-custom-visual-Format-menu-custom-objects-property/m-p/788464#M2530</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently learning how to develop Power BI Custom Visuals, and I would like to know how I can disable one 'Format' menu element (e.g. a text input field) by interacting with a second Format menu property element (e.g. a boolean flip/toggle swtich state changing from true to false).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What code do I need to add to to capabilites.json and visual.ts files to action&amp;nbsp; this functionality? THe only help I can find online thast comes anywhere near to what I am trying to do it this page (&lt;A href="https://community.powerbi.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/td-p/307773" target="_blank"&gt;https://community.powerbi.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/td-p/307773&lt;/A&gt;) but it does not appear to make any change for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 15:22:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-10T15:22:47Z</dc:date>
    <item>
      <title>Disabling a custom visual Format'menu custom objects property  after changing state of second object</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Disabling-a-custom-visual-Format-menu-custom-objects-property/m-p/788464#M2530</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently learning how to develop Power BI Custom Visuals, and I would like to know how I can disable one 'Format' menu element (e.g. a text input field) by interacting with a second Format menu property element (e.g. a boolean flip/toggle swtich state changing from true to false).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What code do I need to add to to capabilites.json and visual.ts files to action&amp;nbsp; this functionality? THe only help I can find online thast comes anywhere near to what I am trying to do it this page (&lt;A href="https://community.powerbi.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/td-p/307773" target="_blank"&gt;https://community.powerbi.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/td-p/307773&lt;/A&gt;) but it does not appear to make any change for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 15:22:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Disabling-a-custom-visual-Format-menu-custom-objects-property/m-p/788464#M2530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-10T15:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling a custom visual Format'menu custom objects property  after changing state of second ob</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Disabling-a-custom-visual-Format-menu-custom-objects-property/m-p/793440#M2552</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should pay attention to&amp;nbsp;&lt;SPAN&gt;enumerateObjectInstances method of a visual&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For instance, you can look how such behavior implemented for &lt;A href="https://github.com/microsoft/powerbi-visuals-chord/blob/a099678be449541ed774967d5f2737a7e52cc0f9/src/chordChart.ts#L548" target="_self"&gt;Chord Chart&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you look at option group "Data Colors" you can see there option "Show All" that shows or hides additional options.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the code, pay attention to &lt;A href="https://github.com/microsoft/powerbi-visuals-chord/blob/a099678be449541ed774967d5f2737a7e52cc0f9/src/chordChart.ts#L599" target="_self"&gt;this moment&lt;/A&gt;&amp;nbsp;please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Evgenii Elkin,&lt;BR /&gt;Software Engineer&lt;BR /&gt;Microsoft Power BI Custom Visuals&lt;BR /&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 15:17:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Disabling-a-custom-visual-Format-menu-custom-objects-property/m-p/793440#M2552</guid>
      <dc:creator>v-evelk</dc:creator>
      <dc:date>2019-09-16T15:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling a custom visual Format'menu custom objects property  after changing state of second ob</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Disabling-a-custom-visual-Format-menu-custom-objects-property/m-p/1642594#M3561</link>
      <description>&lt;P&gt;I'm trying to do the similar thing here using custom visual. The way Evgenii showed us is not to push the&amp;nbsp;&lt;SPAN&gt;colorInstance into the enumerateInstance Array, which ahieves that the ability of showing color picker is listening on the value of "&lt;SPAN class="pl-s1"&gt;dataPointSettings&lt;/SPAN&gt;&lt;SPAN class="pl-kos"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pl-c1"&gt;showAllDataPoints". I think what James is asking or I would like to achieve is showing the color picker section in the property pane, but grey out/disable to edit when&amp;nbsp;"&lt;SPAN class="pl-s1"&gt;dataPointSettings&lt;/SPAN&gt;&lt;SPAN class="pl-kos"&gt;.&lt;/SPAN&gt;showAllDataPoints" is false. Please let me know is there a good way that can do this, thank you!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 16:23:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Disabling-a-custom-visual-Format-menu-custom-objects-property/m-p/1642594#M3561</guid>
      <dc:creator>shawn0527</dc:creator>
      <dc:date>2021-02-03T16:23:21Z</dc:date>
    </item>
  </channel>
</rss>

