donquijote
donquijote

Reputation: 1812

PowerBI Embedded, Bookmarks pane not showing

I don't seem to be able to get the bookmarks pane to show on PowerBI (PBI) embedded. The following are the steps I followed:

Chrome gives me the following error:

Uncaught TypeError: report.bookmarksManager.updateSettings is not a function

I tried as alternative to include it in the embedding settings

var config = {
            type: 'report',
            tokenType: models.TokenType.Embed,
            accessToken: accessToken,
            embedUrl: embedUrl,
            id: embedReportId,
            permissions: models.Permissions.Read,
            settings: {
                background: models.BackgroundType.Transparent,
                bookmarksPaneEnabled: true,
                filterPaneEnabled: false,                    
                navContentPaneEnabled: true                    
            }                
        };

        // Get a reference to the embedded report HTML element
        var reportContainer = $('#pbi-report')[0];

        // Embed the report and display it within the div container.
        var report = powerbi.embed(reportContainer, config);

...and on this case there is no error but the bookmarks pane is still not showing on my embedded report.

Upvotes: 3

Views: 1979

Answers (3)

Sharath
Sharath

Reputation: 1

Refer this code for reference:

                settings: {
                hideErrors: true,
                panes: {
                    filters: { expanded: false, visible: true },
                    bookmarks: { visible: true},
                },
            },

this should work fine

Upvotes: 0

Gregory Borodin
Gregory Borodin

Reputation: 119

For the bookmark error, please use the following code instead:

report.updateSettings({ bookmarksPaneEnabled: true });

We will fix the documentation.

Upvotes: 0

Gregory Borodin
Gregory Borodin

Reputation: 119

Could you please retry. There was an issue with bookmark pane, that has been resolved.

Upvotes: 0

Related Questions