Forum Discussion
How to create a modal dialog?
- 5 years ago
There is a solution! Thank to AsafMozes
Please try to update to powerbi-visuals-webpack-plugin 2.3.0 on powerbi-visuals-tools project.
( powerbi-visuals-tools location can be usually found by “npm root -g” )https://github.com/MicrosoftDocs/powerbi-docs/issues/3138
It works for me.
I've encountered the same error in attempting to use the Dialog with a custom visual:
The error links to the following code snippet in Power Bi code.
I feel that there is something missing from the documentation steps or the Power Bi code.
I would really like to use this feature if anyone can figure it out. Is there an additional npm packages or versions required?
These are the ones I'm currently using:
There is a solution! Thank to AsafMozes
Please try to update to powerbi-visuals-webpack-plugin 2.3.0 on powerbi-visuals-tools project.
( powerbi-visuals-tools location can be usually found by “npm root -g” )
https://github.com/MicrosoftDocs/powerbi-docs/issues/3138
It works for me.
- Anonymous5 years agoNot applicable
Hi DmitryVoronov ,
It's glad to hear that your problem has been resolved. And thanks a lot for sharing the solution here, it will help the others in the community find this solution easily if they face the same problem with yours. I regret that I have not been able to give you a solution here...
Best Regards
- WZorn5 years agoHelper III
What exactly needed to be done to resolve your issue?
I'm getting the same message and popup you did.
Here are my versions:
"powerbi-visuals-api": "~3.8.2","powerbi-visuals-tools": "^2.3.0","powerbi-visuals-utils-dataviewutils": "2.2.1","powerbi-visuals-webpack-plugin": "^2.3.0"