cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
reynoldsdl
Level: Powered On

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.

4 REPLIES 4
Super User
Super User

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!

reynoldsdl
Level: Powered On

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. 

v-zhos-msft
Level 10

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.

reynoldsdl
Level: Powered On

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?

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,669)