Forum Discussion
Which approach we can follow to build large & dynamic PDF files from HTML
I want to create the following:-
1) We have a custom SharePoint list >> which contain items with attachments.
2) Now I want to show the items' attachments inside a PDF file with the following format (to show 2 images on each row), for example if we have 4 attachments inside a list item >> then the pdf should be as follow:-
Now I know that I can create an HTML from our Power Apps which contain the needed info + the images content >> pass it to a flow >> then using the OneDrive connector i can create a file based on the HTML >> convert the HTML to PDF. but this approach has a limitation that the converted file can be a maximum of 2 MB, while in our cases some file will exceed 10 MB.
On the other side, i can NOT benefit from the 2 word connectors:-
because in our case we can not have a predefined templates , as the number of attachment can vary from 1 attachment to up to 16 attachments..
so can anyone advice what approach we can follow to achieve our requirements ? of creating a PDF which contain list item's attachments and text?
Thanks
1 Reply
Hello johnjohn-Peter
i found this great video, maybe also a solution in your case:
https://www.youtube.com/watch?v=OGTtEBzZKg4&t=4s
Good luck, Dave