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

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
Power Automate Staff Sunay
Power Automate Staff

Re: Populate a Microsoft Word Template into SharePoint Document Library

Try appending ".docx" to the filename ?

View solution in original post

5 REPLIES 5
Power Automate Staff Sunay
Power Automate Staff

Re: Populate a Microsoft Word Template into SharePoint Document Library

Try appending ".docx" to the filename ?

View solution in original post

GavinMc
Level: Powered On

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
CLS720
Level: Powered On

Re: Populate a Microsoft Word Template into SharePoint Document Library

That fixed it- thank you!!

elephant_33
Level: Powered On

Re: Populate a Microsoft Word Template into SharePoint Document Library

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

elephant_33
Level: Powered On

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

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (11,407)