My organization is piloting Power BI embedded for our self-service reporting. Does anyone know if there is a way to determine programmatically if the contents of a Power BI embedded report has changed while in edit mode? I want to display a warning message back to the user similar to what happens when you edit a report in the PBI Service and navigate away without saving.
Thanks for the reply. I've already added a listener to the SaveAs event and it works fine when a user selects the Save As button. My issue/question is more related to the UX. If the user makes edits to an embedded report and forgets to click Save or Save As before leaving the site or clicking on another report, I would like a modal dialog pop up to remind them to save the report. Ideally I would like a "OnDirty" event or "Dirty" property of the report object so that I can tell a report has changed and to perform the appropriate action. I'm not sure if it's possibe right now but wanted to see if anyone knew of a way.