'Transfer data from SP List to MS Word using Flow
I have a SharePoint List. I want to make it so that when an Item is added to the List, it creates a MS Word document in a Document Library - and the fields of the SP List are inside my MS Word document (as a template).
I have been using this tutorial - I have followed the instructions to the letter in a test SharePoint site:
I have followed the above tutorial to the letter. Everything (almost) works:
1) I add an item to the Sharepoint List called "Offer Letter Data"
2) The flow runs successfully, and creates a MS Word document in the Document Library called "OfferLetters", by using the template in the Document Library "OfferLetterTemplate"
The only problem is, when I open the MS Word document that is created, it doesn't show the data - it shows the Quick Parts Metadata tag. The flow is collecting the information correctly - because you can see this in the flow details.
I'm missing something - I just don't know - any help would be MASSIVELY appreciated!
Screenshots of Flow being Run successfully, and data input/output
Solution 1:[1]
After the first Trigger - "When Item is created", add the 2 Actions - "Populate a MS Word Template", "Create File" as shown in image below. The word document will update with the column values from the list in first Trigger.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Gautam Kumar |