Power Apps-PDF Function-featured
CategoriesPower Apps

Power Apps – PDF Function

Hello, really nice fuction under our lens today. “PDF Function”. What is this? Is an Experimental function to print Power Apps Screen as PDF.

Let’s start!

Enable functionality

First of all, you must enable this feature:

Enable PDF Function
Enable experimental feature

How can we use it?

Basically , you should call “PDF” Function and pass it information about screen to “Print” as PDF.

PDF (Screen or control name [,{Size, DPI, Margin, Orientation, ExpandContainers}])

The mandatory parameter is Screen (or control name), but you can specify Size, DPI, Margin etc.. Check documentation here.

Example

Create a form, with “print button”:

Print Screen as PDF
Print screen as PDF
Set(myPDF,JSON(PDF(Screen3))

Now, use PDFViewer control to see result:

See PDF in PDFViewer control
View PDF

Contact me for questions! Have a nice day!

2 comments on “Power Apps – PDF Function”

Thank you for *not* showing how to print or “Save As” the final product. This will surely cut down on paper, since right now – it is virtually impossible to send the contents of the PDF Viewer to an actual printer or PDF file. Thanks again.

Thanks for your comment. Actually there is Print fucntion also, but it can prints only to default printer.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

My Agile Privacy
This website uses technical and profiling cookies. Clicking on "Accept" authorizes all profiling cookies. Clicking on "Refuse" or the "X" will refuse all profiling cookies. By clicking on "Customize" you can select which profiling cookies to activate.
Warning: some page functionalities could not work due to your privacy choices: