cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jackson_Dhorty
Helper III
Helper III

Attachments in html

Hi,

 

I have multiple attachments which contains only Images/Pictures in  my SharePoint list attachment column. I want to create an Html file containing those images embedded and convert it into PDF format to generate a report.

 

Example: 

images will come from SharePoint list attachment column

 

//logo

//some paragraph

//some bullet points

 

Photo1

//image1

 

Photo2

//Image2

 

Photo3

//Image3

 

Note: I want to use Encodian (already bought a subscription) as I have more than 20 photos in share point list attachment column.

 

It would be great if someone help me on this as i am struggling to get the right output.

 

Thanks

2 REPLIES 2
Jackson_Dhorty
Helper III
Helper III

Hey @Pstork1 , @eric-cheng! any help on this thread would be appreciated.

 

Thanks

Did you watch Shane Young's video on creating a PDF in Power Automate? PowerApps PDF Generator using Microsoft Flow PDF Converter - YouTube  He covers how to embed an image in the HTML prior to conversion.  The process is essentially the same whether using the Encodian connector or the built in connector.  You need to retrieve the file content of each Image and convert it to an embedded value using DataUri().  Then add it to the HTML in the appropriate place.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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