Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Diegomon
Frequent Visitor

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

 

Untitled.jpg

 

1 ACCEPTED SOLUTION
Diegomon
Frequent Visitor

I found the problem, I was using the minified version of powerbi-client which does not contain "info", "renderingStarted" and "blur" allowedEvents

Diegomon_0-1730336429703.png

I had to:

  1. download the library from: https://www.jsdelivr.com/
  2. replace the minified version with the complete version and its map
  3. update the code

Diegomon_1-1730336491456.png

It is working now.

View solution in original post

2 REPLIES 2
Diegomon
Frequent Visitor

I found the problem, I was using the minified version of powerbi-client which does not contain "info", "renderingStarted" and "blur" allowedEvents

Diegomon_0-1730336429703.png

I had to:

  1. download the library from: https://www.jsdelivr.com/
  2. replace the minified version with the complete version and its map
  3. update the code

Diegomon_1-1730336491456.png

It is working now.

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.