Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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.