Forum Discussion
ConnectedRoman
9 years agoFrequent Visitor
How do I find out what doesn't work?
I'm currently trying to understand how visuals are developed per TypeScript. My experience with programming is mostly limited to C# in school - so not that much. That means that I'm having a lot of t...
- 9 years ago
You should use module instead of namespace:
namespace powerbi.extensibility.visual
As a result you should have this:
module powerbi.extensibility.visual
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
ConnectedRoman
9 years agoFrequent Visitor
Apparently my posts with the code are getting deleted. barChart.ts and capabilities.json are the same as in the tutorial. My classes name is the same as the foldername. pbiviz.json and tsconfig.json have the right names.
EDIT: Now they're there. I deleted unnecessary ones.
v-viig
9 years agoCommunity Champion
"visualClassName": "secondTry.ts",
You need to specify just class name without file extension:
"visualClassName": "secondTry",
- ConnectedRoman9 years agoFrequent Visitor
- v-viig9 years agoCommunity Champion
You should use module instead of namespace:
namespace powerbi.extensibility.visual
As a result you should have this:
module powerbi.extensibility.visual
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- ConnectedRoman9 years agoFrequent Visitor
Thank you very much.