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

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

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

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,762)