I believe I solved it; It seems that there is a bug or issue or something if your template is stored in a different libaray than where I was saving the final document. So as long as you get the template and save the file to the same document library in sharepoint, it seemed to open without an error in SharePoint.
Okay so I tried again, it seems as if It worked once but then I wasn't able to get it to open again later so I'm not sure what is going on? Seems like created files saved in SharePoint won't open up in word. I tested with a signel non-rich text field on a plain empty template form and no dice. I will keep working on it.
this function is very useful for me. However I have some challenges in using the value again. Meaning how can I either REF, Bookmark or repeat the same value in the wordtemplate?
Anyone knows this? I have now tried to find a solution, but not found one yet.
I wrote a blog post outlining the functionality of the new connectors. Check it out below:
I am unable to locate the "add as plain text control"
button, I have added the devloper ribbon and I am on mac?
Is there something that I am missing?
in the developer ribbon you see some icons, it is the Aa icon (there are two of these icons). When you hover over the icon, then it will say PLAIN TEXT CONTENT CONTROL.
that is the one you use
Ok figured out a solution that works for me. Takes some time to setup, however, when it is done, I can resue for what I need it for and hence can use the content control to auto insert values from a FROM via FLOWs to POPULATE A WORD TEMPLATE and reuse the value several times in the word document.
TIP: STYLEREF, you just need to make a unique STYLE for each input from FLOW
It seems that, this functionatly of making a template is not Avaliable in the Mac version of Word! very frustrating!
Is it possibel using this method to insert images?
Having some trouble with output on this--anytime there is a quote inputted in Microsoft forms or when there a multi-option question, I get this: ["Productivity","People"] Is there any way to fix this?
I've also hit the nasty little glitch with these connectors. Any html special character, e.g. < > ' " & gets escaped into the html entity. So < becomes < and & becomes &
I would be very interested in anyone who has found a workaround. Thanks!!
Someone helped me out! Here's the solution
I have been trying to use this function of updating a word template to then output a finished document as it would be a huge time saver for repetitive templates which need filling in.
I have followed all the instructions I've been finding online including on here but I seem to be hitting the same problem over and over when it comes to creating the file after updating the template.
I hit this error:
InvalidTemplate. Unable to process template language expressions in action 'Create_file' inputs at line '1' and column '2564': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_onedriveforbusiness']['connectionId']' cannot be evaluated because property 'shared_onedriveforbusiness' doesn't exist, available properties are 'shared_wordonlinebusiness'. Please see https://aka.ms/logicexpressions for usage details.'.
Anyone else come across this at the point of creating the file?
The word template part seems to complete ok and I can see an output for the file content.
@5bi If you export your flow, and then inport it as NEW, it solves that problem. I don't know why, but it worked for me. Found the solution on another thread somewhere.
Have anyone faced an issue passing an array to the online connector, the Word Template is generating with correct number of repeating rows but not population values inside the repeating control.
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!