Forum Discussion
How can I get the bookmarks list?
Hello everyone,
I have a question about retrieving the list of bookmarks so that I can add them to new formattingSettings.ItemDropdown().
However, I don’t know how to get that list.
I found documentation on BookmarksManager:
https://learn.microsoft.com/en-us/javascript/api/powerbi/powerbi-client/bookmarksmanager.
Since I am customizing visual directly on Power BI Service (app.powerbi.com), powerbi-client is not applicable in my case.
Best regards.
Hi Tung,
Annoyingly, bookmarks (and actions) aren't available in the custom visuals APIs. I've been asking for a while and haven't got anywhere with progressing it. The team's official response is that it is not planned. There is an idea here you can vote on, and maybe if more devs can do this, it might get some traction.
Regards,
Daniel
5 Replies
- dm-pSuper User
Hi Tung,
Annoyingly, bookmarks (and actions) aren't available in the custom visuals APIs. I've been asking for a while and haven't got anywhere with progressing it. The team's official response is that it is not planned. There is an idea here you can vote on, and maybe if more devs can do this, it might get some traction.
Regards,
Daniel
- TungFrequent Visitor
Hi Daniel
Thanks for confirming the information that I can't get the bookmarks list from visual api.
Can I ask you one more question, I really appreciate your help.
Can I get the section pane list from "powerbi-visuals-api".
Best regards
Tung
- lbendlinSuper User
Since I am customizing visual directly on Power BI ServiceHow, and why?
- TungFrequent Visitor
i am developing a visual. i found the getBookmarks() function but it is in the powerbi-client package. while i am using powerbi-visuals-api. and i don't know how to get the bookmarks list to continue my work