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

Merge field data from SharePoint list with Word .docx template

Hello All

 

I am currently trying to build a flow that will take field data from a sharepoint list and populate a word docx template and then save to a document library. 

 

At the moment i am struggling to merge the data with the word document.

 

Any help would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
WonderLaura
Level: Powered On

Re: Merge field data from SharePoint list with Word .docx template

Here's a post that I just wrote about how to send metadata to Flow, and Flow generates a Word document with the Quick Parts populated.

https://wonderlaura.com/2019/01/09/microsoft-flow-quick-parts/

Laura Rogers
SharePoint MVP
SharePoint Consultant / Trainer at IW Mentor
7 REPLIES 7
Super User
Super User

Re: Merge field data from SharePoint list with Word .docx template

Hi @JohannaM

 

You will need to use document templates with quick parts for this. Then set the document properties witht the data form the list and when the document is opened the quick parts should be updated.

 

JohannaM
Level: Powered On

Re: Merge field data from SharePoint list with Word .docx template

Thank you for your response.

 

I have my document with quick parts, the issue i am having is how to merge the data from the list with the template within Flow.  which connector would i need to use to bring the two parts together to produce the final document.

 

Super User
Super User

Re: Merge field data from SharePoint list with Word .docx template

You would probably have to go for a

get content  - in the sharepoint connector ( where you read to content of your template document)

create document - in the SharePoint connector use the content

update file propertes - in the SharePoint connector.

JohannaM
Level: Powered On

Re: Merge field data from SharePoint list with Word .docx template

Many thanks, i will try that out.

Administrator
Administrator

Re: Merge field data from SharePoint list with Word .docx template

Hello, @JohannaM!

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @Pieter_Veenstra‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Flow Community Manager
JohannaM
Level: Powered On

Re: Merge field data from SharePoint list with Word .docx template

Could you point me in the direction of a connector that can create a document, using a .docx template and merging that with data from a sharepoint list.  As i have not been able to complete this part of the process.

 

Many thanks for your help.

Highlighted
WonderLaura
Level: Powered On

Re: Merge field data from SharePoint list with Word .docx template

Here's a post that I just wrote about how to send metadata to Flow, and Flow generates a Word document with the Quick Parts populated.

https://wonderlaura.com/2019/01/09/microsoft-flow-quick-parts/

Laura Rogers
SharePoint MVP
SharePoint Consultant / Trainer at IW Mentor

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!

Top Kudoed Authors
Users Online
Currently online: 232 members 5,016 guests
Please welcome our newest community members: