Forum Discussion

Tung's avatar
Tung
Frequent Visitor
1 year ago
Solved

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.

5 Replies

    • Tung's avatar
      Tung
      Frequent 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

      • dm-p's avatar
        dm-p
        Super User

        Hi Tung -  I'm afraid there aren't APIs for this either. This will also be a feature request for the team if you need it.

         

        Regards,

         

        Daniel

  • Since I am customizing visual directly on Power BI Service

    How, and why?

    • Tung's avatar
      Tung
      Frequent 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