Forum Discussion
Power Automate Generate PDF with Table
I have a Power Automate flow set up to create a PDF for a selected item in a SharePoint list. If there is a table added to an item though, it gets cut off in the PDF:
Here is the flow:
In the "Create file HTML" step I've also tried the styling below but it did not make a difference.
table {
width:100%; !important
}
The Encodian Connector is another option which has an https://support.encodian.com/hc/en-gb/articles/360022205154-Convert-HTML-to-PDF action. However, there is a cost to get this connector after the 30 day trial is over. The best free option that I could come up with is to use the HTML file only as it seems creating a PDF file from an HTML file will not have the proper / expected format.
3 Replies
- eahbxecrfash3qBrass Contributor
The Encodian Connector is another option which has an https://support.encodian.com/hc/en-gb/articles/360022205154-Convert-HTML-to-PDF action. However, there is a cost to get this connector after the 30 day trial is over. The best free option that I could come up with is to use the HTML file only as it seems creating a PDF file from an HTML file will not have the proper / expected format.
- Jon_LakeBrass Contributor
Hi eahbxecrfash3q , if you have a per-user licence then you could consider using the MS Word premium connector, and then converting the resulting document to a PDF. You could also consider the Adobe PDF connector, which requires a subscription but may deliver what you need without the MS Word bridging step. I'm not an expert on the Adobe connector but some initial research suggests that it may provide what you need.
- eahbxecrfash3qBrass Contributor
Thanks Jon, my company's license does not include the Premium connectors so those are not an option unfortunately. Do you know of any other solutions please?