cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Convert Sharepoint Online List to single document

Hi! I would like to pick your brains about converting a SharePoint Online list to a single document, preferably PDF format.

 

We have a SharePoint list with columns like City, Name, Office (simplified for the example). Now we want to publish a document every week with the following content:

 

City A

Name 1, Office 1

Name 2, Office 2

 

City B

Name 3, Office 3

Name 4, Office 4

Name 5, Office 5

 

City C

Name 6, Office 6

Etc.

 

Is this manageable with Flow? Any help is appreciated!

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Convert Sharepoint Online List to single document

 

Hi @RobinHz ,

 

It seems difficult to configure such a format, but using an HTML table to display the data contained in the list is relatively simple, this is also a good choice.

 

After creating the HTML table, use the Create file action to create the HTML file, and use the body output by the Html action as the file content.

 

Finally, convert the newly created HTML file into a PDF file.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Super User
Super User

Re: Convert Sharepoint Online List to single document

6 REPLIES 6
Highlighted
Super User
Super User

Re: Convert Sharepoint Online List to single document

Hi @RobinHz 

 

You can use the compose action and build a table and then convert it to PDF.

 

Here's an example:

https://wonderlaura.com/2019/07/17/powerapps-flow-convert-to-pdf/

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Highlighted
Frequent Visitor

Re: Convert Sharepoint Online List to single document

Thank you, I'll try out the solution and will mark it as Solved once I made a working. flow.

Highlighted
Community Support
Community Support

Re: Convert Sharepoint Online List to single document

 

Hi @RobinHz ,

 

It seems difficult to configure such a format, but using an HTML table to display the data contained in the list is relatively simple, this is also a good choice.

 

After creating the HTML table, use the Create file action to create the HTML file, and use the body output by the Html action as the file content.

 

Finally, convert the newly created HTML file into a PDF file.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Frequent Visitor

Re: Convert Sharepoint Online List to single document

Thank you! I will try that one out. The other solution was good for creating a single document based on a single record, but not what I have in mind.

Highlighted
Super User
Super User

Re: Convert Sharepoint Online List to single document

Highlighted
Frequent Visitor

Re: Convert Sharepoint Online List to single document

Thank you Jay, that example will really enable me to perform this task!

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Users online (9,251)