Hello, i have a custom objects in capabilities files.
Is it possible disable this custom objects properties before i add data in my custom visual like matrix or table default visual on powerbi?
Solved! Go to Solution.
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!
The show 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.
To enable this functionality would be a change request to the visuals API - you could always try creating a feature request for it if you want an official reponse from the team.
Check out new user group experience and if you are a leader please create your group!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Check out how to claim yours today!
Test your skills now with the Cloud Skills Challenge.