amwithi's avatar
amwithi
Regular Visitor
8 years ago
Status:
Done

Event Handler for "See Records"

There is a need to log the details displayed by the "See Records" action.

Can you add a report event handler similar to the 'dataSelected' report event but specific to 'Drill to Details' event fired by "See Records" right-click action?

The 'dataSelected' event currently returns ***values***, but only for an instance (row or click) at a time. I have a need to audit the records that the "See Records" event displays. The "See Records" action triggers a "Page Changed" event with the page name "Drill To Details". Clicking on a single row of returned data triggers a 'dataSelected' event and the object properties are accessible. What I need is an ability to access the JSON object returned by the "See Records" action - "Drill to Details" page change event as an entire set. I observe the JSON returned by an XHR request and have not been able to access it. This is the important and final piece that would allow full auditing of records access etc. Ideally, an event to handle "Export Data" would additionally be useful.

 

Proposed request: Under 'Report Events' 
Add a "Drill to Details" event that returns even dataset details as response values 
Add a "Export Data" event that returns event dataset details as response values

Consider below as described in

Microsoft/PowerBI-JavaScript wiki: 

Reports

  • loaded 
    • configuration 
  • rendered 
    Called when a report is fully rendered. For example, if all visuals are rendered on loading report or after user interaction.
  • pageChanged
    • newPage: Page
  • filtersApplied (Not supported yet) 
    • filters
  • dataSelected