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

PDF Creation from a SharePoint list with images from a SP Folder

Hi Folks!

I'm struggling with a more complex scenario right now and could need some help.

Im trying to build a Powerapp that uses:

1. Data input from a User that needs to be stored in a SP List (I already created the connections and it works fine)

2. Grabs Images from a SP Folder that the user provides as a Link during the input process and generates a pdf file with the input information and the provided Images from the Folder with the flow pdf generation tool.

I could make everything work except of the part with the pictures from the SharePoint folder.

The user scenario is the following:

A Team member uses the Powerapp during a client appointment, tracking details in Form of text inputs and saves the Form without typing in a Link to a folder with Pictures.

Button "just save"

He is also taking pictures with a external Camera or his Smartphone.

Back at the office he creates a folder within the project Library where he puts in all the pictures. He grabs the link from that folder and adds it to the Powerapps Form.

Now he clicks the button "save and create PDF"

A PDF get generated with all the data input and the images with a flow trigger. The PDF gets saved into the folder with the images.

Any ideas on how to set this up?
2 REPLIES 2
Community Support Team
Community Support Team

Re: PDF Creation from a SharePoint list with images from a SP Folder

Hi @Pate1410 ,

Could you please share a bit more about your scenario?

Do you want to embed the images (from your SP Library) within the generated PDF file?

Further, how do you generate an PDF file based on the form data? Using Microsoft Flow?

 

Based on the needs that you mentioned, I think the combination of PowerApps and Microsoft Flow could achieve your needs.

If you want to embed an image file (from your SP Library) within the generated PDF file, please check and see if the following blog would help in your scenario:

https://poszytek.eu/en/microsoft-en/office-365-en/flow-en/powerapps-hand-written-signature/

http://blog.muhimbi.com/2017/08/convert-powerapps-data-to-pdf.html

 

More details about exporting a form data into a PDF file, please check the following video:

https://www.youtube.com/watch?v=IhE0-HumNNo&feature=youtu.be

 

On your side, within your app, you should include the following formula within the HTML Text which you want to pass to your flow:

"<p><img width='200' src='The URL Link to the image file in your SP Library' /></p>"

Or

"<p><img width='200' src='" & The URL Link to the image file in your SP Library & "' /></p>"

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
TopShelf-MSFT
Level 10

Re: PDF Creation from a SharePoint list with images from a SP Folder

Thanks for posting in the community @Pate1410 - can you review the above reply and update the thread if it was helpful?

 

Thank you,

 

@TopShelf-MSFT 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,022)