Forum Discussion
AF
9 years agoNew Member
Adding a static js script to a custom visualization
Hi, I have followed the instructions on this page: https://github.com/Microsoft/PowerBI-visuals/blob/master/Tutorial/ExternalLibraries.md, i.e.: * Created a folder external in the viz. folder...
- 9 years ago
v-chuncz-msft
9 years agoCommunity Support
- AF9 years agoNew Member
Thanks, that worked perfectly!
- tylersbrown018 years agoFrequent Visitor
Update (12.27.2017) you now declare external libraries in "externalJS" section of pbiviz.json
- v-viig8 years agoCommunity Champion
Yeah, that's correct.
JavaScript code must be included into externalJS property of pbiviz.json.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals