cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

SharePoint Infopath list to pdf

Hello,

 

I have created an InfoPath form in SharePoint, connected with a list. The form is working correctly and sends the data to the list.

 

How can I convert the InfoPath form to pdf, using power automate, saving the pdf file in a SharePoint folder?

 

Thank you!

 

David

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Hi @dbocvan 

You can't convert the InfoPath XML file directly to a PDF as rendered within Forms Server using Power Automate.

Assuming you've mapped the data contained within the form to SharePoint list columns... you can just use the SharePoint list data interleaved in custom HTML to convert to PDF, example: https://blog.encodian.com/2020/01/convert-sharepoint-list-items-to-pdf/

HTH

Jay

View solution in original post

2 REPLIES 2
Continued Contributor
Continued Contributor

I'm not too sure on how to convert the infopath form into a PDF, but what you can do is create a word template, and then populate it with the data from the list using the "Populate a Microsoft Word Template" (which is a premium connector). Once you do that, you can then create a file in one drive and then convert a file in onedrive to a PDF document, and then save it in a SharePoint folder. 

 

Here's a great blog I found on how to do this, we do this at our company all the time and it works great!

 

https://flow.microsoft.com/en-us/blog/intermediate-flow-of-the-week-create-pdf-invoices-using-word-t...

 

Kind regards,

Ben Fetters

www.sovereignsp.com 

If this solved the problem for you, feel free to hit "Accept as Solution" so others can find the answer easier. 🙂

Kind regards,

Ben Fetters
Power Apps/Power Automate Developer
www.sovereignsp.com
Super User II
Super User II

Hi @dbocvan 

You can't convert the InfoPath XML file directly to a PDF as rendered within Forms Server using Power Automate.

Assuming you've mapped the data contained within the form to SharePoint list columns... you can just use the SharePoint list data interleaved in custom HTML to convert to PDF, example: https://blog.encodian.com/2020/01/convert-sharepoint-list-items-to-pdf/

HTH

Jay

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (11,281)