PowerApps - Create PDF file from a screen

See how to create a variable to store the PDF content from this link: https://tungphamvn.blogspot.com/2025/06/powerapps-render-screen-as-pdf-and.html

Then, create a new Power Automate flow named "CreatePDFFile" (within Power Apps). The following flow will save the PDF file into a folder in Sharepoint:




Create a button and write the following code in OnSelect:

CreatePDFFile.Run(
    "Pdffile_" & Now() & ".pdf",
    {
        file: {
            name: "anything.pdf",
            contentBytes: varPdfContent
        }
    }
);


No comments:

Theme images by merrymoonmary. Powered by Blogger.