Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17897

Is anyone actually using JavaScript event handlers in embed mode?

$
0
0

We'd like to get more insights into what users are doing in our embedded PBI reports.

 

We know there's an event model in place for this (https://github.com/Microsoft/PowerBI-JavaScript/wiki/Handling-Events) and we're already using the "loaded" event in order to show/hide "wait" spinners.

 

The above works fine but when we started to dig into other things we can do, the documentation/functionality is a bit lacking. Specifically, we'd like to know when users are actually interacting with the report by drilling through, exporting, etc.

 

We see that there's the "commandTriggered" event and it appears to be tied to menu items (like "Export Data" or "Show Data") but our event handlers aren't getting called when users click these menu items. Based on the documentation, it sounds like this may only happen when users click on *custom* menu items, perhaps not the OOTB items?

 

So, we're just trying to get more clarity on what's really possible. The Github docs haven't really changed much in a while so I'm not sure if that also means the functionality in the JS library hasn't changed or it has and perhaps the docs haven't been updated to match.

 

If someone's got a working example of capturing user events, I'd love to see it.

 

Thanks!

 

- Terence


Viewing all articles
Browse latest Browse all 17897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>