Forum Discussion
bfialkoff
7 years agoFrequent Visitor
Inherit from other visuals?
I want to make a small change to an existing visual but I dont want to have to worry about maintainence. I know that I can place the link to the git repo in my package.json. Is it then possible to in...
- 7 years ago
import ChicletSlicer = powerbi.extensibility.visual.ChicletSlicer;
Have you tried such an import?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
bfialkoff
7 years agoFrequent Visitor
That doesn't sound like its terribly complicated but I'm afraid I don't understand. Could you give a more detailed answer?
v-viig
7 years agoCommunity Champion
What custom visual do you want to inherit?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- bfialkoff7 years agoFrequent VisitorChiclet Slicer.
- v-viig7 years agoCommunity Champion
You just need to install Chiclet Slicer as a dependency via NPM. After that please add TS files into your tsconfig.json. Please do the same for externalJS from pbiviz.json.
After these steps you will be able to import Chiclet Slicer to inherit it.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- bfialkoff7 years agoFrequent VisitorThat is list the github repo in my package.json as a dependancy, the path to all of the .ts files in the chiclet slicers src folder to my tsconfig. What should be added to externalJS?