Forum Discussion

PowerBIOrg's avatar
PowerBIOrg
Resolver II
2 years ago
Solved

Paginated Report embed and render in Whole Page View without overflow

Hi All,

 

I embedded my paginated report in own website. I want the report to show in whole page instead of scrolling them without changing the report/page size. 

 

I added "&rdl:reportView=pageView" after embed url but it will need to scroll the page which means it didn't show in whole page.

 

I want it to look like following which able to view in whole page like setting in report builder.

 

How can I do in my website?

 

Thank you.

 

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi PowerBIOrg ,

     

    Here are some suggestions and I hope it could help you.

     

    1. Double-check that the URL is correctly constructed with the &rdl:reportView=pageView parameter. This should be appended correctly to the embed URL.

     

    2.  On your website, ensure that the iframe or container holding the paginated report is set to 100% width and height. This might require custom CSS or styling adjustments. For example:

    iframe {
    width: 100%;
    height: 100%;
    border: none;
    }

    Note: Ensure the parent container of the iframe also spans the full height and width of the page.

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi PowerBIOrg ,

     

    Here are some suggestions and I hope it could help you.

     

    1. Double-check that the URL is correctly constructed with the &rdl:reportView=pageView parameter. This should be appended correctly to the embed URL.

     

    2.  On your website, ensure that the iframe or container holding the paginated report is set to 100% width and height. This might require custom CSS or styling adjustments. For example:

    iframe {
    width: 100%;
    height: 100%;
    border: none;
    }

    Note: Ensure the parent container of the iframe also spans the full height and width of the page.

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • PowerBIOrg's avatar
      PowerBIOrg
      Resolver II

      Hi, I missed out a question mark (?) before the "&rdl:reportView=pageView", after I changed to url + "?&rdl:reportView=pageView" then it shows in whole page. Thanks. 

       

      I found some textbox is hidden when in page view. I set it to be hidden for the following expression:

      Globals!RenderFormat.Name="PPTX" OR 
      Globals!RenderFormat.Name = "PDF" OR
      Globals!RenderFormat.Name = "ACCESSIBLEPDF" OR
      Globals!RenderFormat.Name = "EXCELOPENXML" OR
      Globals!RenderFormat.Name = "CSV"

      why the textbox is hidden in page view?