Forum Discussion
Missing allowedEvent for "report" using Power BI embedded analytics Client APIs vs using sandbox
When I am using the Embedded Analytics Playground I see the "report" element having 20 allowedEvents, however, when I am building my own ASP.NET app for embedding a report (using the code provided by Microsoft in github), I just get 17 events, missing "info", "renderingStarted" and "blur"... Why is it happening? I already tested it in chrome and edge
I found the problem, I was using the minified version of powerbi-client which does not contain "info", "renderingStarted" and "blur" allowedEvents
I had to:
- download the library from: https://www.jsdelivr.com/
- replace the minified version with the complete version and its map
- update the code
It is working now.
2 Replies
- DiegomonFrequent Visitor
I found the problem, I was using the minified version of powerbi-client which does not contain "info", "renderingStarted" and "blur" allowedEvents
I had to:
- download the library from: https://www.jsdelivr.com/
- replace the minified version with the complete version and its map
- update the code
It is working now.
- AnonymousNot applicable
HI,Diegomon
We are delighted that you have found a solution and are willing to share it.Accepting your post as the solution is incredibly helpful to our community, as it enables members with similar issues to find answers more quickly.
Thank you for your valuable contribution to the community, and we wish you all the best in your work.
Best Regards,
Leroy Lu