Forum Discussion
Export current PowerBI screen to pptx
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.
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
- lbendlin6 years ago
Super 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.
- Anonymous6 years agoNot applicable
First thank you for the info, as it was really hard to take a lead on this.
Second, then the bookmark is something that is created with the report, so by the report creator, not but the report viewer?
- lbendlin6 years ago
Super User
That is my understanding of the current implementation. But as I said this has a distinct smell of change attached to it - I am pretty certain the functionality will be extended in the future. Which is kinda sad - let's at least hope nobody is printing out these PPTX. I'm kidding, of course they will print them out once they start flying again.