Forum Discussion
Export current PowerBI screen to pptx
I have a web app that shows embedded PowerBI reports. Recently, with help of this link, I've added export of the PowerBI report to PowerPoint. Everything works fine, except the fact that the export is not taking into account at what level of detail the user was looking at. (e.g. he opened the report, but changed the selected tab and went two levels deep from what is shown by default).
Please see the so question where I've added all the info. If something is unclear, please ask.
I would really use some help on this one as I have no idea how to move further with it.
5 Replies
- lbendlinSuper User
You may want to look at the automation/screen caption tools that are in abundance on the interwebs.
Keep in mind that the Export to File API does its rendering on the service, not in the user's browser. Currently the service has no idea what the user may have changed in the report before issuing the export request. They do use a request ID and and Export ID so maybe they are already planning to support custom renderers.
Check the Ideas pages to see if anyone has raised this request yet, and vote for it.
- AnonymousNot applicable
But then what does bookmark mean in statement from below?
---------
You can use the exportToFile API to programmatically export a report in a specific state, after applying filters to it. This is done using Bookmarks capabilities. To export a report using bookmarks, use the bookmarks JavaScript API. For example, you can use the bookmark's capturedBookmark.state method to capture the changes a specific user made to a report, and then export it in its current state. Personal bookmarks and persistent filters are not supported.
---------
Source: https://github.com/Microsoft/PowerBI-JavaScript/wiki/Bookmarks
- lbendlinSuper User
That may be an option for you. However it seems not to cover the scenario you initially described where users make filter changes and then choose the export function.