cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User II
Super User II

Re: SharePoint Infopath list to pdf

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
Highlighted
Continued Contributor
Continued Contributor

Re: SharePoint Infopath list to pdf

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
Highlighted
Super User II
Super User II

Re: SharePoint Infopath list to pdf

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,082)