cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pdouglas
Frequent Visitor

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
Jennie Helper I
Helper I

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
New Member

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

Any update on this case?

pdouglas
Frequent Visitor

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
Jennie Helper I
Helper I

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

 

JR44
Regular Visitor

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

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

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Attending MBAS? Claim your badge

Attending MBAS? Claim your badge

Whether you’re streaming the digital event live, or watching on-demand, claim your attendee badge to sport on your profile.

‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

‘Better Together’ Integration Forum Launch

‘Better Together’ Integration Forum Launch

We're launching a how-to forum where you can learn about how Power BI integrates with other Power Platform products.

Emergency Response & Monitoring Solution

Emergency Response & Monitoring Solution

Microsoft has created a regional government emergency response and monitoring solution that is built on Power Apps and Power BI.

Top Solution Authors
Top Kudoed Authors
Users online (5,928)