cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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.

5 REPLIES 5
Anonymous
Not applicable

Did you have any success with this issue? 

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

 

anon12333
New Member

Any update on this case?

Anonymous
Not applicable

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
Anonymous
Not applicable

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. 

 


@Anonymous 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

 

Anonymous
Not applicable

Where do you run that variable? Within the flow or within the html 'string'?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,391)