Genrate PDF inside of a Power App

%3CLINGO-SUB%20id%3D%22lingo-sub-2427528%22%20slang%3D%22en-US%22%3EGenrate%20PDF%20inside%20of%20a%20Power%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2427528%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20the%20Print()%20is%20a%20good%20start%20is%20there%20any%20plans%20to%20generate%20PDFs%20inside%20a%20Power%20App%3F%20Maybe%20with%20multiple%20pages%3F%20Or%20a%20more%20robust%20version%20of%20the%20html%20to%20pdf%20conversion%20in%20OneDrive%20so%20we%20could%20use%20it%20in%20Logic%20Apps%20or%20Flows%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2427773%22%20slang%3D%22en-US%22%3ERe%3A%20Genrate%20PDF%20inside%20of%20a%20Power%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2427773%22%20slang%3D%22en-US%22%3EHi%20Peter%2C%20you%20can%20generate%20PDFs%20inside%20a%20Power%20App.%20I've%20linked%20to%20a%20document%20and%20video%20that%20can%20help%20you%20show%20how%20to%20complete%20the%20task.%20%3CA%20href%3D%22https%3A%2F%2Fblog.pragmaticworks.com%2Fhow-to-generate-pdfs-from-power-apps%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.pragmaticworks.com%2Fhow-to-generate-pdfs-from-power-apps%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAdditionally%2C%20there%20are%20paginated%20reports%20in%20Power%20BI.%20Paginated%20reports%20are%20best%20for%20scenarios%20that%20require%20a%20highly%20formatted%2C%20pixel-perfect%20output%20optimized%20for%20printing%20or%20PDF%20generation.%20A%20profit%20and%20loss%20statement%20is%20a%20good%20example%20of%20the%20type%20of%20report%20you%20would%20probably%20want%20to%20see%20as%20a%20paginated%20report.%20I've%20also%20provided%20a%20link%20to%20a%20document%20on%20paginated%20reports.%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-bi%2Fconsumer%2Fend-user-paginated-report%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-bi%2Fconsumer%2Fend-user-paginated-report%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ELastly%2C%20I've%20attached%20a%20blog%20on%20HTML%20to%20PDF%20conversion%20in%20Power%20Automate.%20%3CA%20href%3D%22https%3A%2F%2Fdebajmecrm.com%2Fhow-to-convert-html-file-to-pdf-using-power-automate%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdebajmecrm.com%2Fhow-to-convert-html-file-to-pdf-using-power-automate%2F%3C%2FA%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
New Contributor

As the Print() is a good start is there any plans to generate PDFs inside a Power App? Maybe with multiple pages? Or a more robust version of the html to pdf conversion in OneDrive so we could use it in Logic Apps or Flows?

2 Replies
Hi Peter, you can generate PDFs inside a Power App. I've linked to a document and video that can help you show how to complete the task. https://blog.pragmaticworks.com/how-to-generate-pdfs-from-power-apps

Additionally, there are paginated reports in Power BI. Paginated reports are best for scenarios that require a highly formatted, pixel-perfect output optimized for printing or PDF generation. A profit and loss statement is a good example of the type of report you would probably want to see as a paginated report. I've also provided a link to a document on paginated reports. https://docs.microsoft.com/en-us/power-bi/consumer/end-user-paginated-report

Lastly, I've attached a blog on HTML to PDF conversion in Power Automate. https://debajmecrm.com/how-to-convert-html-file-to-pdf-using-power-automate/
Unfortunately the OnDrive Action to create PDF is a really poor implementation, it has a very limited support of html, e.g. no styling of elements possible, no positioning of images could be done. So for now it can only be done with third party solutions. Will have a look onto PowerBI. Thanks for charing.