06-27-2019 07:43 PM
06-27-2019 07:43 PM
06-27-2019 08:02 PM
Can you show a sample of your Flow please? If you can show an example how you use the MS Word template connector and how you are saving it, we can use that to track down the issue.
06-27-2019 11:20 PM
Thanks for reaching out @Damien Rosario
1. Initialize variable
2. Populate a Microsoft Word template (preview)
3. Set variable
Value: Microsoft Word Document (from step #2)
4. Create file (Sharepoint)
File Content: I cannot use the 'wordDocument' variable. I can only pass 'Microsoft Word Document' from step 2
06-27-2019 11:47 PM - edited 06-28-2019 12:12 AM
Hopefully I understand the issue. Maybe try checking these items?
1. Have you put the text fields into Word template where the inserted text needs to go? Have you named each box appropriately?
The custom box names should appear in Populate a Microsoft Word template In MS Flow.
2. Have you then inserted values (e.g. your variables) into these boxes in MS Flow?
3. When you Create file, the output has to be 'Microsoft Word Document' from the Populate a Microsoft Word template as that has the variables you have added in (1).
Here's a diagram that I hope illustrates the point in Flow.
Hope that helps?
EDIT: P.S. I should add that I do not believe the variables will be recognised as appropriate file content thus the issue. You'll need the variables to be input into the Populate a Microsoft Word template connector before creating the file.
06-28-2019 12:17 AM
My issue is not with creating Word documents using templates. I am able to create and save Word documents and using variables to populate the template.
What I cannot do, is use the Word document that I placed in a Microsoft Flow variable, as an input later in my flow to save the File or to attach to an email (again my scenario is that the Microsoft flow variable is used to support that, depending conditions, the Word document is different).
06-28-2019 12:24 AM - edited 06-28-2019 12:26 AM