Skip to main content

Notifications

Power Apps - Power Apps Experimental Features
Unanswered

Attempting to use the PDF feature with a container or Form fails with "PDF Creation Failed"

Like (0) ShareShare
ReportReport
Posted on 27 Sep 2024 17:22:43 by 3
I'm trying to use the beta feature to print a long form that expands vertically enough that it requires to scroll down.
This beta feature works beautifully for that because I can present a print dialog and let the user click to download a PDF version of the form.
In one of the applications I built that's very similar, I have no issues using this exact method but in this new application I'm building I get this error.
 
Set(pdfBlob1, PDF(Container1,
{
    Orientation: PaperOrientation.Landscape,
    Size: PaperSize.Letter,
    Margin: "10px",
    ExpandContainers: true,
    DPI:96
    }));


Anyone any clues why this would break or any way to get more details about what is causing the error?

If I set the "ExpandContainers: false". The error disappears but the file never downloads.

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,316

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,290

Leaderboard

Featured topics