cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

Populate a Microsoft Word Template into SharePoint Document Library

I'm using the Populate a Microsoft Word Template action to create a word document. The next action in this workflow is the SharePoint Create a file action. This action uses the output from the Populate a Microsoft Word Template action in the File Content field of the Create a file action. However, after the flow has run, the document type created in the document library is not a Microsoft Word Document.

populateWordTemplate.jpgtemplateInLibary.jpg

Can anyone help me configure this workflow so that a Word Document is created within the SharePoint Document Library?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Power Automate
Power Automate

Re: Populate a Microsoft Word Template into SharePoint Document Library

Try appending ".docx" to the filename ?

View solution in original post

5 REPLIES 5
Highlighted
Power Automate
Power Automate

Re: Populate a Microsoft Word Template into SharePoint Document Library

Try appending ".docx" to the filename ?

View solution in original post

Highlighted
Frequent Visitor

Re: Populate a Microsoft Word Template into SharePoint Document Library

Hi,

 

I have an issue in my step (see below). I'm pretty sure I've created the template elements using Quick Parts - Field - MergeField in Word, but any advise will be appreciated.

Capture.PNG

Highlighted
Advocate I
Advocate I

Re: Populate a Microsoft Word Template into SharePoint Document Library

That fixed it- thank you!!

Highlighted
Frequent Visitor

Re: Populate a Microsoft Word Template into SharePoint Document Library

Were you able to open you file in microsoft word desktop version?

Highlighted
Frequent Visitor

Re: Populate a Microsoft Word Template into SharePoint Document Library

I think the problem was I was testing the same document over and over and it was being cached in Word. I renamed the file after it was created and it fixed the issue.

Helpful resources

Announcements
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
Top Kudoed Authors
Users online (7,778)