
Hi,
Is there any nice, easy-going way to create pdfs from custom powerapps forms or coding by hand html code and converting it is the only way?
I mean, I need to make good looking PDF raport from submited forms. I started to type it in HTML code but it doesnt look very profesional. And I dont know why but HTML code in powerapps doesnt act always like it should, for example I need to make page break beetwen two tables, I tried following lines of code:
<p style="page-break-before: always"> <div style="page-break-after: always"></div> <div style='page-break-after:always;'> </div>
but none of them worked. It's really frustrating. The view of typed code in powerapps is also diffrent than in converted pdf file, so i need to run flow after every change to see real looking pdf.
Thank you for all your help
Hi @Anonymous ,
Could you please share a bit more about your scenario?
Do you want to use the page-break-before and page-break-after css style within the HTML Text control?
Further, do you want to convert a Edit form data into a PDF file within PowerApps?
Based on the needs that you mentioned, I have made a test on my side, and the issue is confirmed on my side. The page-break-before and page-break-after css style within the HTML Text control is not supported in PowerApps currently.
If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
If you want to convert a Edit form data into a PDF file within PowerApps, I afraid that there is no direct way to achieve your needs in PowerApps. As an alternative solution, I think the combination of PowerApps and MS Flow could achieve your needs.
Please check and see if the following video resource would help in your scenario:
https://www.youtube.com/watch?v=IhE0-HumNNo&feature=youtu.be
https://www.youtube.com/watch?v=bfXV_GXc_JM
Best regards,