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

Generate Word/Excel Document From Sharepoint List Multiple Rows that contain rich text

I want to be able to start a flow that will "Get Items" ( multiple ) from sharepoint List and add them to a table in a word document along with saving the document a Document Library on sharepoint. Columns of the sharepoint list contain rich text format ( bullets, underline, bold, etc ) and the format needs to be transferred as well. I have reviewed several solutions using Document Library with Content Type, along with flow and the "Create File' and 'Update File Properties' however all the solutions I have seen deal only with a single list item. I need to generate word document with multiple list items and retain all formating. Appreciate any Ideas, links etc on how this can be achieved. FYI, I also attempted Excel Create Table in flow and added rows based on the sharepoint list. This worked nicely except Excel will not recognize the rich text format.

5 REPLIES 5
Highlighted
Super User II
Super User II

Re: Generate Word/Excel Document From Sharepoint List Multiple Rows that contain rich text

Check out this blog post, Generate Word Document From A SharePoint List Item Using Microsoft Flow for detailed steps on what you are seeking.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Highlighted
Frequent Visitor

Re: Generate Word/Excel Document From Sharepoint List Multiple Rows that contain rich text

This is one of the references I have already pursued. It does not solve my problem. It is a great example of creating a Word Document from a single Sharepoint List item. My requirement is different in that i need to generate a word document that contains multiple Sharepoint List items ( maybe as an embeded table within the word document). As well I need the rich text formating to carry over into the Word Document. 

Highlighted
Solution Sage
Solution Sage

Re: Generate Word/Excel Document From Sharepoint List Multiple Rows that contain rich text

Hi @reynoldsdl ,

First, I suggest you create a table in the excel.

Then you can add each item into the table with 'Apply to each' action.

I have made a test on my side, please take a try with the following workaround:

Capture.PNG

Best Regards,

Community Support Team _ Zhongys

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

Highlighted
Frequent Visitor

Re: Generate Word/Excel Document From Sharepoint List Multiple Rows that contain rich text

The issue with this approach is tha the rich text going into excel colum is not formatted as rich text and show the htlm tags. Is there a way to retain the rich text format?

Highlighted
Helper III
Helper III

Re: Generate Word/Excel Document From Sharepoint List Multiple Rows that contain rich text

@reynoldsdl I am trying to do this same thing now with multiple items from a sharepoint list, were you able to make this work somehow?

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new 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!

Top Solution Authors
Users online (7,640)