Forum Discussion
Power BI Custom Visual - Objects and Properties types
Replying to confirm this is something I'm keen to know as well - all that seems to be publicly available is the valueType we can assign to an object, and the corresponding ValueTypeDescriptors.
However, as OP mentions, there do seem to be some naming conventions around objects where if they contain the right string and have the right type, will result in rendering a slider rather than a text box (e.g. transparency), or maybe others we don't know about. Maybe it's if the numeric value can resolve to a percentage value? Not entirely sure but would be good to confirm what we can do here to improve the user experience around objects.
v-evelk - is there such a list of known patterns for object names and how they will affect the rendering of the object in the properties pane? If not, is it possible to supply it please? This might help in the case where it's not possible to introduce custom types and the team already has something that might satisfy requirements.
Hy guys,
Unfortunately, there isn't a full list of known properties except those that you can find in schema.capabilities.json file (there is a list of all APIs).
A process of documentation building and improvement is ongoing so, sooner or later such list will appear.
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
[email protected]