Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Is it possible to set Embeded PowerBi report with Iframe pageNavigation parameter

Is it possible to set pageNavigation position setting using url parameter or in any other way while embeding report using iframe ? 

 settings: {
        panes: {
            pageNavigation: {                position: models.PageNavigationPosition.Left
            }
        }
    }

 

2 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      I went through all of that documentation. And If I had react application I could set settings as below:

       

       

       settings: {
              panes:{
                  pageNavigation: {
                      visible: true,
                      position: PagesPosition.Left
                  }
              }    
          }

       

       

       

       

        But, for a report that is generated as an iframe element how do I set that setting? Or how do I encode it into URL ?

       For example, If I have: 

       

         <iframe
                      title="Operations"
                      width="100%"
                      height="100%"
                      src="https://app.powerbi.com/reportEmbed?reportId=aaaaa-9db5-4d0d-a0aa-88f899f75303&autoAuth=true&ctid=aaaaaa-8c7c-4e24-86e4-6c36fed00b78&config=eyJjbHVzdGVyVXJsIjoiaHR0cHM"
                      allowFullScreen={true}>              
                    </iframe>  <p>I'm able to set <span>navContentPaneEnabled=false  by adding it to the url on the iframe to disable the menu, how can I add something to url to make menu display left? </span></p>

       

      I'm able to set navContentPaneEnabled=false  by adding it to the url on the iframe to disable the menu, how can I add something to url to make menu display left?