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

Experiences Populating a MS Word Template from a SharePoint List

I have two related SharePoint lists List A and List B. Each item in List A is related to a single item in List B, and items in List B can be relted to more than one item in List A.

 

Information from both List A and List B together populate a one-page report. (MS Word document)

 

I'm using a manually triggered flow that pulls data from both lists (using Get items) and then writes a series of MS Word documents using Populate a Microsoft Word template (preview). There are two significant challenges, one of which I have overcome:

 

1) There are two multi-select pick lists in the SharePoint lists that need to be included in the final report - it was extremely tedious to get these to render properly in the Word document. After extensive reserarch I was able to use a series of string variables to build up something that could be displayed in the Word plain text field... this is something that I hope is built into the Populate a Microsoft Word Template action soon.

 

2) Several of the fields from the Sharepoint list are currency, and I have not yet found a good way to render them in the Word file - they come through as text. It would seem that formatting a number as currency would be a very basic feature of either the Flow engine (as an Expression perhaps?) or of the MS Word action. Any suggestions would be greatly appreciated.

 

Here is the general outline:

Flow1.PNG

1 REPLY 1
Community Support Team
Community Support Team

Re: Experiences Populating a MS Word Template from a SharePoint List

Hi @Matt_Markahm,

 

Maybe you can convert the string to currency refer to this post:

https://powerusers.microsoft.com/t5/Building-Flows/Convert-string-to-currency/m-p/323106

 

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

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Users Online
Currently online: 319 members 1,647 guests
Please welcome our newest community members: