<?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: disable custom objects properties in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/308460#M468</link>
    <description>&lt;P&gt;You should define&amp;nbsp;&lt;STRONG&gt;show&amp;nbsp;&lt;/STRONG&gt;property in your capabilities and use&amp;nbsp;&lt;STRONG&gt;false&lt;/STRONG&gt; as a default value (&lt;A href="https://github.com/Microsoft/PowerBI-visuals-ChicletSlicer/blob/8a80512a8c7c9f3e9d1d5e26b769d3ca9fc8bd29/capabilities.json#L182" target="_blank"&gt;capabilities sample&lt;/A&gt;).&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>Wed, 22 Nov 2017 07:14:36 GMT</pubDate>
    <dc:creator>v-viig</dc:creator>
    <dc:date>2017-11-22T07:14:36Z</dc:date>
    <item>
      <title>disable custom objects properties</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/307773#M460</link>
      <description>&lt;P&gt;Hello, i have a custom objects in capabilities files.&lt;/P&gt;&lt;P&gt;Is it possible disable this custom objects properties before i add data in my custom visual like matrix or table default visual on powerbi?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"objects"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Test1"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"displayName"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Test1"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"properties"&lt;/SPAN&gt;&lt;SPAN&gt;: { &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Nov 2017 11:49:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/307773#M460</guid>
      <dc:creator>marcobaciga</dc:creator>
      <dc:date>2017-11-21T11:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: disable custom objects properties</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/307895#M462</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/14418"&gt;@marcobaciga&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should return an empty array ([]) as a result of enumerateObjectInstances method if dataView is empty.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 14:22:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/307895#M462</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-11-21T14:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: disable custom objects properties</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/307947#M465</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I try your solution but the objects is hidden.&lt;/P&gt;&lt;P&gt;I want to obscure like this image.&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.jpg" style="width: 192px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/70606i58E06986F76367B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Immagine.jpg" alt="Immagine.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 14:59:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/307947#M465</guid>
      <dc:creator>marcobaciga</dc:creator>
      <dc:date>2017-11-21T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: disable custom objects properties</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/308460#M468</link>
      <description>&lt;P&gt;You should define&amp;nbsp;&lt;STRONG&gt;show&amp;nbsp;&lt;/STRONG&gt;property in your capabilities and use&amp;nbsp;&lt;STRONG&gt;false&lt;/STRONG&gt; as a default value (&lt;A href="https://github.com/Microsoft/PowerBI-visuals-ChicletSlicer/blob/8a80512a8c7c9f3e9d1d5e26b769d3ca9fc8bd29/capabilities.json#L182" target="_blank"&gt;capabilities sample&lt;/A&gt;).&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>Wed, 22 Nov 2017 07:14:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/308460#M468</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-11-22T07:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: disable custom objects properties</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/1642673#M3562</link>
      <description>&lt;P&gt;Hi Ignat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it has been a while since this post. But I'm currently working on the custom visual, I'm trying to do the same with Marco, the original poster. I would like to show the custom property on the format pane, but the ability to edit of it would listen to another custom property. The way you were showing in the example link is to create a toggle switch, by checking the truthy of it in the visual.ts, you could determine wether to push the dependent property. That will make the dependent property disappear from the format pane when the toggle switch is off. Is there a way to make the dependent property grey out when the toggle is off instead of disapper? Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 16:53:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/1642673#M3562</guid>
      <dc:creator>shawn0527</dc:creator>
      <dc:date>2021-02-03T16:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: disable custom objects properties</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/1643081#M3565</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/222194"&gt;@shawn0527&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;show&lt;/FONT&gt; property for the object menu is a special case. For standard properties you can only hide them from the pane via enumeration as you're doing already, and not grey them out.&lt;/P&gt;
&lt;P&gt;To enable this functionality would be a change request to the visuals API - you could always try &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/issues/" target="_self"&gt;creating a feature request for it if&lt;/A&gt; you want an official reponse from the team.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 21:23:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/1643081#M3565</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-02-03T21:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: disable custom objects properties</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/1643365#M3566</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your qucik reply, I'd like to make this change request and look forward to seeing this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Shawn&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 00:03:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/disable-custom-objects-properties/m-p/1643365#M3566</guid>
      <dc:creator>shawn0527</dc:creator>
      <dc:date>2021-02-04T00:03:33Z</dc:date>
    </item>
  </channel>
</rss>

