I am just wondering if there is any option to add page breaks and page numbers when using convert to pdf action in flow. I have have flow with following actions.
- Get Sharepoint item,
- Create file in sharepoint xxx.html with content from the previous action
- Convert to Pdf
- Create file xxx.pdf - content from last step.
- Delete the xxx.html file.
I have tried add page break via css but it does not show in the pdf generated.
Solved! Go to Solution.
Hi @ahmednaseem ,
I have made a test on my side and I'm afraid that there is no any way to add page numbers and breaks to pdf with Microsoft flow currently.
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @v-alzhan-msft @ahmednaseem
Apologies for picking up an old thread... I've found this whilst helping another user on this same topic today.
@v-alzhan-msft - Totally agree you cannot do this with the Onedrive connector However, it is possible in Power Automate using a third party connector such as Plumsail or Encodian which provide full HTML / CSS support.
This post covers how to add page breaks to HTML and convert to PDF: https://blog.encodian.com/2020/07/converting-html-to-pdf-or-word-with-power-automate/#link3
This Encodian action covers how to add pager numbers to a PDF document: https://support.encodian.com/hc/en-gb/articles/360014464534-Add-Page-Numbers
HTH
Jay
Hi @ahmednaseem ,
I have made a test on my side and I'm afraid that there is no any way to add page numbers and breaks to pdf with Microsoft flow currently.
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @v-alzhan-msft @ahmednaseem
Apologies for picking up an old thread... I've found this whilst helping another user on this same topic today.
@v-alzhan-msft - Totally agree you cannot do this with the Onedrive connector However, it is possible in Power Automate using a third party connector such as Plumsail or Encodian which provide full HTML / CSS support.
This post covers how to add page breaks to HTML and convert to PDF: https://blog.encodian.com/2020/07/converting-html-to-pdf-or-word-with-power-automate/#link3
This Encodian action covers how to add pager numbers to a PDF document: https://support.encodian.com/hc/en-gb/articles/360014464534-Add-Page-Numbers
HTH
Jay
A workaround exists to generate a PDF with more than one pages by using CSS and the OneDrive connector:
https://www.inspiribytes.com/power-automate/generate-multiple-pages-pdf-in-power-automate/
Join digitally, March 2โ4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
32 | |
15 | |
14 | |
13 | |
7 |
User | Count |
---|---|
39 | |
23 | |
15 | |
10 | |
7 |