cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dbocvan
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
Jay-Encodian
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
BenFetters
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
Jay-Encodian
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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (47,731)