Forum Discussion
ozpbi123
3 years agoRegular Visitor
Export state issue with multiple tabs
When exporting an embedded report via the current state (caputured via the powerbi-client bookmarksManager.capture() method, then passing that state into the C# Microsoft.PowerBi.Api ExportToFileInG...
- 3 years ago
You should make sure you're using latest JS SDK when capturing the bookmark, and you should pass the "allPages" option, see here: ICaptureBookmarkOptions interface | Microsoft Learn
Then you should pass it to the "Export to File" API as the state for the default bookmark
AmosHersch
3 years agoMicrosoft Employee
You should make sure you're using latest JS SDK when capturing the bookmark, and you should pass the "allPages" option, see here: ICaptureBookmarkOptions interface | Microsoft Learn
Then you should pass it to the "Export to File" API as the state for the default bookmark