<?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 Hidden visuals setting data in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4322791#M58638</link>
    <description>&lt;P&gt;Hello every one,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I create a custom visual and consult code from sampleBarChart in this link github.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/microsoft/PowerBI-visuals-sampleBarChart/tree/condFormat/Tutorial" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/microsoft/PowerBI-visuals-sampleBarChart/tree/condFormat/Tutorial&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;And I have a problem:&amp;nbsp;&lt;/SPAN&gt;I created a setting to be able to store my persist data. Let's say it is General View. I want it to not show up on the screen and work normally. But when I hide it, I can't get data from it anymore. How should I do it?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LortT_0-1733888765255.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213200i6427A8150AA13BF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LortT_0-1733888765255.png" alt="LortT_0-1733888765255.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LortT_1-1733889100349.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213201i730B43BD6D99723A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LortT_1-1733889100349.png" alt="LortT_1-1733889100349.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LortT_2-1733889158365.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213202i163A2CF93918370C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LortT_2-1733889158365.png" alt="LortT_2-1733889158365.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 03:52:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-12-11T03:52:51Z</dc:date>
    <item>
      <title>Hidden visuals setting data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4322791#M58638</link>
      <description>&lt;P&gt;Hello every one,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I create a custom visual and consult code from sampleBarChart in this link github.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/microsoft/PowerBI-visuals-sampleBarChart/tree/condFormat/Tutorial" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/microsoft/PowerBI-visuals-sampleBarChart/tree/condFormat/Tutorial&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;And I have a problem:&amp;nbsp;&lt;/SPAN&gt;I created a setting to be able to store my persist data. Let's say it is General View. I want it to not show up on the screen and work normally. But when I hide it, I can't get data from it anymore. How should I do it?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LortT_0-1733888765255.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213200i6427A8150AA13BF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LortT_0-1733888765255.png" alt="LortT_0-1733888765255.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LortT_1-1733889100349.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213201i730B43BD6D99723A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LortT_1-1733889100349.png" alt="LortT_1-1733889100349.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LortT_2-1733889158365.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1213202i163A2CF93918370C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LortT_2-1733889158365.png" alt="LortT_2-1733889158365.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 03:52:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4322791#M58638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-11T03:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden visuals setting data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4324988#M58649</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;Can you please provide some more details on what visual you were using?&amp;nbsp;To address your issue of persisted data being inaccessible when hidden in a custom Power BI visual, it's important to understand how Power BI's properties and persistence mechanisms work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 04:10:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4324988#M58649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-12T04:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden visuals setting data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4334160#M58720</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, so just following up to our previous message. We hope your issue has been resolved.&lt;/P&gt;
&lt;P&gt;If the solution we provided has worked for you, kindly mark it as the accepted solution. Your feedback is important to us,&amp;nbsp;Looking forward to your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for being a valued member of the Microsoft Fabric Community Forum!&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 04:44:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4334160#M58720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-18T04:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden visuals setting data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4335816#M58734</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you say 'hide,' do you mean remove/comment out as per your screenshot? If so, this will not populate the formatting model and will be inaccessible, as you have experienced.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using &lt;A href="https://github.com/microsoft/powerbi-visuals-utils-formattingmodel" target="_self"&gt;powerbi-visuals-utils-formattingmodel&lt;/A&gt; to manage your formatting model, you can add and set the &lt;A href="https://github.com/microsoft/powerbi-visuals-utils-formattingmodel/blob/ff8843c49d6cd315e30f501fd2f36c8d27b8c7bf/src/FormattingSettingsComponents.ts#L55-L56" target="_self"&gt;&lt;FONT face="courier new,courier"&gt;visible&lt;/FONT&gt; property of your settings class that represents the &lt;FONT face="courier new,courier"&gt;CompositeCard&lt;/FONT&gt; to &lt;FONT face="courier new,courier"&gt;false&lt;/FONT&gt;&lt;/A&gt; (while the rest of your code isn't available in OP, I would assume that your &lt;FONT face="courier new,courier"&gt;GeneralViewCardSettings&lt;/FONT&gt; class extends &lt;FONT face="courier new,courier"&gt;CompositeCard)&lt;/FONT&gt;. By setting the visibility, your model is still processed as intended (and the property is therefore available for persistence/retrieval).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 01:05:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4335816#M58734</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2024-12-19T01:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden visuals setting data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4354491#M58923</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;We haven’t heard back from you for some time, so just following up to our previous message. We hope your issue has been resolved.&lt;/P&gt;
&lt;P&gt;If the solution we provided has worked for you, kindly mark it as the accepted solution. Your feedback is important to us,&amp;nbsp;Looking forward to your response.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for being a valued member of the Microsoft Fabric Community Forum!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 05:41:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4354491#M58923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-08T05:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden visuals setting data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4381902#M59191</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 07:43:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Hidden-visuals-setting-data/m-p/4381902#M59191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-27T07:43:36Z</dc:date>
    </item>
  </channel>
</rss>

