Forum Discussion
callum
8 years agoHelper II
Modifying parseSettings/VisualSettings
Hello, A newly created visual comes with a static parseSettings method, which calls VisualSettings.parse(). If I inspect the return value of this call then it is a VisualSettings instance with a ...
- 8 years ago
Anonymous
8 years agoNot applicable
Actually I have done upto here.Since now there is no need for an interface,How do I retrieve the property value from the pane.
Also how would this code snippet change after I add more properties?
public enumerateObjectInstances(options: EnumerateVisualObjectInstancesOptions): VisualObjectInstance[] | VisualObjectInstanceEnumerationObject {
return VisualSettings.enumerateObjectInstances(this.settings || VisualSettings.getDefault(), options);
}
v-viig
8 years agoCommunity Champion
You shouldn't change this snippet code.
All of properties will be parsed automatically.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals