Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Is there any setting or method in the Power BI JavaScript API that allows configuring the initial state of the Bookmark Pane?
I would like to set the Bookmarks bar to be collapsed by default
I use this code for see Bookmark Pane on my Embedded report :
panes : { bookmarks: { visible: true } }
Thanks in advance
Hi @DavideBono97 ,
It seems that the API does not support the functionality to collapse bookmarks by default. However, you can try using visible: false and report.updateSettings in the code to toggle the visibility of the bookmark pane, allowing you to dynamically show or hide bookmarks.
Configure embedded report settings | Microsoft Learn
Update report settings at runtime in Power BI embedded analytics | Microsoft Learn
This is the related document, you can view this content:
Report Layout in Power BI Embedded | Microsoft Learn
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |