cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CLS720
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
Sunay
Power Automate
Power Automate

Try appending ".docx" to the filename ?

View solution in original post

6 REPLIES 6
Sunay
Power Automate
Power Automate

Try appending ".docx" to the filename ?

View solution in original post

GavinMc
Advocate I
Advocate I

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

That fixed it- thank you!!

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

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.

I'm in troube because if I open the merged Word file within Teams or Sharepoint, I can see the fields filled with data, but if I open it into the Desktop App I see only the placeholders without data. Also if I use the Flow function to send the Word file as an attachment, the file sent is empty of data. Can you help me? See below:

Immagine 2021-03-03 153054.png 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (26,540)