Forum Discussion

ConstantinL's avatar
ConstantinL
Regular Visitor
5 years ago

Exporting PowerBI report with bookmark information does not respect bookmark state

Hello,

 

We are exporting PowerBI reports as described in this thread.
https://community.powerbi.com/t5/Developer/Exporting-PowerBI-report-with-bookmark-information-no-longer/td-p/1421566

Today exporting stoped behaving as it used to. 

Yesterday the user highlights captured in the bookmark would be present in the exported PDF

Today the PDF export contains the default state of the report.

 

We have updated both the powerbi-client npm package in the fronend application and the Microsoft.PowerBI.Api NuGet package in the backedn code.

We have updated the way we capture bookmarks as this has changed 

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Bookmarks#capture-bookmark-with-personalize-visuals

we use 

this.report.bookmarksManager.capture({ personalizeVisuals: false })
This has not fixed the issue as the exporte report is still in the default state, not in the highlighted state.

Is there another change to bookmarks we should be aware of?
Any assistance will be appreciated.
 
Thank you,

7 Replies

  • Sadly I'm also seeing this identical issue as described in the very first post - though it's curious since exporting off of the Power BI Service captures filters/bookmark state without issue - any ideas on the Microsoft side?  This seemed to be working great until December

  • ConstantinL's avatar
    ConstantinL
    Regular Visitor

    Hello,

     

    The export started working as expected on 2021-01-18. We have not updated our code or integrations libraries, we are still using powerbi-client version 2.14.1 and Microsoft.PowerBI.Api version 3.11.0

     

    Best regards

    • AndrewLGoldman's avatar
      AndrewLGoldman
      Advocate I

      I can second what ConstantinL said - after seeing his post, I was able to test here as well and indeed the export is working as expected again!

  • kohder's avatar
    kohder
    Frequent Visitor

    ConstantinL I've ran into exactly the same issue. I've only recently started adding this integration and was frantically trying to find what I had changed to break this. So it is good to know I'm not the only one experiencing this.

    The Export to File endpoint validates the defaultBookmark provided (Checks that the state provided is valid), but as you describe, does not apply it.

    I am however able to restore a bookmark on an embedded report, but with exports, no such luck. Hopefully someone can provide answers soon.

  • ConstantinL's avatar
    ConstantinL
    Regular Visitor

    Hello,

     

    This issue is still reproducible as of 2020-12-29

    So far we have tried updaint both the client side (powerbi-client 2.16.2) and the server side libraries (Microsoft.PowerBI.Api 3.20.1) to the most recently released versions, but this has not fixed the issue.

     

    Is there any additional information on this use case?

     

    Thank you

  • Anonymous's avatar
    Anonymous
    Not applicable

    We are also having this problem and this has been broken for about a month.  Can someone respond and work on this issue?