I've a small issue with the "Populate a microsoft word template" action to populate some controls in a word template:
when loading the word template, it now lists all the controls. When I test the flow, it runs without error.
But when I check the word document, the controls that are located in the header and footer of the document are left blank.
Any chance this could be solved?
A small update:
I tried to map the controls.
They are showing in the flow panel, and the flow runs apparently correctly, but the generated document doesn't show the new values.
In other words, once the controls are mapped, the update doesn't work and the flow is shown to work successfully.
Please make sure your file has Plain Text content controls like this:
You could refer to the same issue as yours in the following post:
And you could learn how to add content controls refer to link below:
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I'm 100% sure that the control is plain text. I have no issue populating all the others that are located in the body of the document.
However, it is not possible to populate the ones located in the header and the footer.
I also did tests starting from a new a blanck .docx document inserting 3 plain text content controls:
1 in the header
1 in the body
1 in the footer
See the print screens:
As you can see, the content is not reaching the plan text content controls in the header and footers eventhough the test returns as successful.
I have made a test on my side and the issue is confirmed on my side.
I afraid that the plain text control is not supported in the header and footer in microsoft word in flow currently.
I would help confirm it with my product team and would reply here once I get the respond.
You can populate a text in the BODY and then use STYLEREF to populate the header and footers.
When you open the WORD, then the header and footer will update automatically and hence refer to the value, which has the STYLE referred to.
Its just a work around.
I was wondering if this issue has been fixed yet?
Another workaround that I have found is to bookmark the field in the body, and then for the header, you have to add a Ref field that references the bookmark. This seems to work but is a little tedious at times. Thank you for looking into this!
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!