cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mpezzutti
Helper II
Helper II

Microsoft Flow converting Html into PDF

Hello Everyone

 

I am finding a lot of problems on converting my html into PDF from One drive

When it creates the PDF you open it up in one drive and all I see when I scroll the PDF is empty blank pages

However when you go scroll through it is showing the PDF

The other thing it shows everything thats in my folder.

 

 

 
2 REPLIES 2
mdevaney
Super User
Super User

@mpezzutti 

This looks like a Flow question rather than a PowerApps question.  You'll want to go post this over in the Flow Community.  You'll get a quicker/better response there.

 

Link to Flow Community

https://powerusers.microsoft.com/t5/Microsoft-Flow-Community/ct-p/FlowCommunity

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

This following one statement in the Document property on a PDF Viewer control will dynamically convert many document types to PDF you can display in your apps such as Word documents, PowerPoint presentations, HTML files. Loads more.

Substitute( Gallery1.Selected.Thumbnail, "transform/thumbnail", "transform/pdf" )

 

There is a more consistent way of doing it with PDF documents using the Graph APIs which surface a "@content.downloadUrl" property for any file, but this property in particular works 100% of the time, and once again you only need to set the Document property on the PDF Viewer to this field using the PA_Graph_DriveItems Flow I've shared on a really long blogs that speaks to loads more things you equally do using those APIs. 

 

Rather download the simplified version of demo app I've shared on that blog, and all the other Flows if you want to:

https://youtu.be/poKsDNYm9Jw

https://masteroffice365.com/powerapps/9/#DownloadSolution

Helpful resources

Announcements
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,891)