Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Experimental Features
Unanswered

PDF Function weird issue

(8) ShareShare
ReportReport
Posted on by 162

Hello,

 

Experiencing strange behavior with the PDF Function.  When I run the canvas app in the edit designer, the pdf generates the full pdf, however - when i run the canvas app normally (not in the edit designer) it only generates the 1st page of the pdf.  Anyone else experiencing this?

here's my pdf function: 

Set(varPDFContent, PDF(
scrnFinalEval,
{
Orientation: "Landscape",
ExpandContainers: true
}
))

 

I then have the pdf displayed in the PDF viewer control, and am also saving it to a Sharepoint library. In both cases, the issue described above is occurring.


Categories:
  • sushrut Profile Picture
    12 on at
    PDF Function weird issue
    Hello,
     
    Is there any fix found for this issue?
  • Paul_Efe Profile Picture
    5 on at
    Re: PDF Function weird issue

    I was testing, and the operation of the PDF function also depends on the browser used. In Chrome and Edge it sometimes crashes, but in Mozilla it works.

  • rdgsae Profile Picture
    6 on at
    Re: PDF Function weird issue

    It didn't work for me.

    I have a gallery of variable size inside a vertical container, and depending on the number of lines in the gallery, it works really well, but when it exceeds a limit of 10 lines, it crashes.
    Detail: I'm using a landscape orientation in the app.

  • Hillo Profile Picture
    6 on at
    Re: PDF Function weird issue

    I Had the same issue. I Solved this by:

    I had ScreenName => Canvas => several galleries inside Canvas DataCard

       This failed: PDF( ScreenName, {ExpandContainer:true}.....

     

    This worked: Added verticalContainer to the ScreenName 

                        Coppied Canvas and pasted to  verticalContainer 

      then PDF(verticalContainer, {ExpandContainer:true}

                and worked. 

       

  • rdgsae Profile Picture
    6 on at
    Re: PDF Function weird issue

    I had the same problem and solved it by disabling the "scale to fit" property in the screen settings. So far, I haven't been able to get it to work with this setting enabled.

  • Cosbel Profile Picture
    18 on at
    Re: PDF Function weird issue

    I have the exact same issue, to load the full pdf it has to be in containers...with expandcontainers true...! However it only works on edit mode...on devices or player it crashes. Any idea of that being fixed?

  • Brittzz Profile Picture
    2 on at
    Re: PDF Function weird issue

    Hello,

     

    I am still experiencing this issue.

     

    The PDF function generates all pages of my PDF in the editor environment but, when I run the canvas environment, the pdf only contains the top part of the screen that is visible without scrolling.

     

    Is there a new ETA for when this issue will be resolved?

  • Rokazas001 Profile Picture
    13 on at
    Re: PDF Function weird issue

    Thanks, now working properly.
    I also tested with simple container inside verticalcontainer - also working.
    I guess now all items need be inside verticalcontainer.

  • antoniorodrigue Profile Picture
    8 on at
    Re: PDF Function weird issue

    that is an old known behavior. I use Foxit reader or google chrome to open as well. that issue is not related with the new one of not printing all boxes within the same page. currently it only prints if visible within the form resolution (no scrollable area)

  • pearler Profile Picture
    12 on at
    Re: PDF Function weird issue

    Try opening the pdf in Chrome (open with). There is a weird issue when opening with Acrobat Reader, only the first page loads with data. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 770 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 494

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399

Featured topics