Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
jgehani
Frequent Visitor

Collapse icon on the left page-navigation pane in an embedded report is hidden.

In our angular application, we embed a paginated report with page navigation enabled and docked to the left.
On doing that, the icon to collapse pageNavigation bar is not visible.
Is there a way to get the collapse icon in the pane?
Below are the configuration settings that are being used:
let pbiConfig = {
        type: 'report',
        tokenType: models.TokenType.Aad,
        accessToken: accessToken,
        settings: {
          panes: {
            filters: {
              expanded: false,
              visible: true
            },
            bookmarks: {
              visible: false,
            },
            fields: {
              visible: true
            },
            selection: {
              visible: true
            },
            syncSlicers: {
              visible: true
            },
            visualizations: {
              visible: true
            },
            pageNavigation: {
              position: 1
            }
          },
          bars: {
            statusBar: {
              visible: true
            },
            actionBar: {
              visible: true
            }
          },
          hyperlinkClickBehavior: models.HyperlinkClickBehavior.RaiseEvent,
          personalBookmarksEnabled: true,
          persistentFiltersEnabled: true,
          bookmarksPaneEnabled: false,
          authoringHintsEnabled: true,
          filterPaneEnabled: false,
          navContentPaneEnabled: true,
          visualSettings: {
            visualHeaders: [{ settings: { visible: true } }]
          }
        },
        embedUrl: <embedUrl>,
        id: id
      };
On a user action we dynamically hide the actionBar using updateSettings method.

Image 1: PBI App
Image 2: Embedded report


jgehani_0-1741368465858.png  jgehani_2-1741368951790.png

 

 

 



1 REPLY 1
mariussve1
Super User
Super User

Hi,

 

This might not be the optimal solution, but could you use Bookmarks?

Create one bookmark where the pane is visible and another where it is collapsed/hidden.

 

Then, add a button that triggers these bookmarks.


Br
Marius
BI Fabrikken
www.bifabrikken.no

Helpful resources

Announcements