cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pdouglas
Level: Powered On

html page breaks does not work using MS Flow to convert to PDF.

I created a html with CSS coding to page-break before <h1></h1> tags. Using print preview, I am able to see the page breaks, however, when I run my flow there is no page break. Any Idea to resolve this issue.

4 REPLIES 4
Jennie
Level: Powered On

Re: html page breaks does not work using MS Flow to convert to PDF.

Did you have any success with this issue? 

I  have tried all sorts of arrangments of page-breaks  to no avail. 

 

anon12333
Level: Power Up

Re: html page breaks does not work using MS Flow to convert to PDF.

Any update on this case?

pdouglas
Level: Powered On

Re: html page breaks does not work using MS Flow to convert to PDF.

No update. I tried creating static tables with spacing to mimic a page break but that did not work. As more tables are added, the tables eventually carry over to the next pages in the pdf
Highlighted
Jennie
Level: Powered On

Re: html page breaks does not work using MS Flow to convert to PDF.

I was able to get around this a bit by using a Div of a predefined size. 

 

<div id="page" class="page" style = "background-color:#FF00FF; height: 775px; width: 595px;">

 

( terrible colour was for debugging! )

This allowed me to create stand alone pages when I knew the content was going  be less than one page. 

I am currently using a variable to keep track of approximate content height so able to close of the div and start a new one ( like starting a new page ) when it excides a page height. 


Its alot of overhead for something that should be straight forward. 

 


@pdouglas wrote:
No update. I tried creating static tables with spacing to mimic a page break but that did not work. As more tables are added, the tables eventually carry over to the next pages in the pdf

 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 513 members 4,469 guests
Please welcome our newest community members: