Forum Discussion
Hidden visuals setting data
- 1 year ago
Hi Anonymous,
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.
If you are using powerbi-visuals-utils-formattingmodel to manage your formatting model, you can add and set the visible property of your settings class that represents the CompositeCard to false (while the rest of your code isn't available in OP, I would assume that your GeneralViewCardSettings class extends CompositeCard). By setting the visibility, your model is still processed as intended (and the property is therefore available for persistence/retrieval).
Regards,Daniel
Hi Anonymous,
Thanks for reaching out to the Microsoft fabric community forum.
Can you please provide some more details on what visual you were using? 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.
Thank you.