cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Populate Word with Checkbox

Hello there,

 

I'm trying to fill a Word template with answers given in a Forms survey.

For text input everything works fine. Flow and Forms are doing what they should but in my template i have 3 checkboxes that arn't displayed in Flow.

 

I use the checkboxes that were added by activating the dev ribbon and gave every checkbox a name to make them distinguishable.

Anmerkung 2019-11-13 152008.png (Word Screenshot of the checkbox)

 

Can someone tell me how to get those boxes activated by flow?

 

Thanks in advance!

2 ACCEPTED SOLUTIONS

Accepted Solutions

Hey @Anonymous 

 

Currently this is not supported in flow. You can take a look at the current supported and current limitations in features here: https://docs.microsoft.com/en-us/connectors/wordonlinebusiness/#createfileitem

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

As @yashag2255 mentioned, Word Online connector does not support the checkbox currently. If you want similar functionality to be supported by MS Flow, please consider voting for a similar idea:

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Populate-a-Word-Template-action-should-support-checkox-controls/idi-p/350539

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

17 REPLIES 17

Hey @Anonymous 

 

Currently this is not supported in flow. You can take a look at the current supported and current limitations in features here: https://docs.microsoft.com/en-us/connectors/wordonlinebusiness/#createfileitem

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

As @yashag2255 mentioned, Word Online connector does not support the checkbox currently. If you want similar functionality to be supported by MS Flow, please consider voting for a similar idea:

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Populate-a-Word-Template-action-should-support-checkox-controls/idi-p/350539

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jdoss
Resolver III
Resolver III

You can achieve this by using a plain text control and in the flow use the values of the check box control and paste them into the flow as a variable. See below for the flow and the template after running.

flow-checkbox.pngflow-checked.png

Hello @jdoss - this is a very clever solution and it works a treat! Exactly what I needed so as to avoid having to edit the template, which client really wasn't thrilled about.

 

Thanks very much!

could Anyone elaborate on how one might get the checkbox image in the value for each variable?

 

cut and paste, ascii char represetation, ?

 

Thanks, and no thanks to MS for another thing they missed or ignored that would be of great service to MANY MANY people.

jdoss
Resolver III
Resolver III

You can get the checkbox image by creating a checkbox in word and copying it and then do so again with the checked version. I'll add them here also and maybe that will help. You should be able to just copy them here if they display correctly.

☐ - unchecked

☒ - checked

☐ - small

☒ - small

☐ - large

☒ - large

☐ - larger

☒ - larger

I've added a comment in the main thread of how to get the text content for the checkbox control.

UrklnmeMS
Helper I
Helper I

Thank you very much OP and jdoss.  I was able to make this work.  

I guess I couldnt imagine pasting an image into a string variable.   Sure works though!!

 

I initialized one variable (CBUnchecked) of string type with the unchecked image and another variable (checked) with the checked image.

UrklnmeMS_0-1638899982515.png

then I used a condition to determine true or false and used Set Variable to put the appropriate variable into a third variable (AgreeCB) that represents my checkbox on the form.

 

UrklnmeMS_1-1638900349417.png

finally, AgreeCB variable is used as the value for a field on the form

UrklnmeMS_4-1638900557990.png

 

Thanks again jdoss!  

 

emilyh
Frequent Visitor

Hi @jdoss ,

I need a checked symbol like this 2022-02-14_17-59-21.png. I tried several times but can't copy it to Power Automate. Do you know how to copy this symbol? Thanks.

jdoss
Resolver III
Resolver III

Sorry for the late reply on this, I wasn't notified. The closest I can find using the desktop word app is this:

Which you should be able to copy and paste from here.

I'm pretty sure it's the square root symbol but you could use it as the checked value and it should work as it is a native symbol. 

How I got this was using/adding a checkbox control in Word Desktop app, go to the checkbox properties, and change the symbol of the checked value. There are many symbols there that should all work. 

emilyh
Frequent Visitor

Thanks @jdoss for your reply! I ended up copying a checkmark symbol from Internet as a string, and added a plain text control in Word, and it works for me.

Hi

 

I followed your instruction and created the flow and it is giving me error. What I am planning to do is that I have Share list column with Yes/No field. Then I created Word document with the Item and added the checkbox from Development. In the flow I initial 3 variable Strings.. One for Checked one for Uncheck and the third variable is ALL with value of Checked.

 

Then I created Condition for when an item created in Sharepoint if Yes I set variable "ALL", then Get file content from sharePoint, Create File, and then Update file content and my flow fail to update the file properties. Any idea? 

Hi @lolla70 ,

When you make the word document, you can't use the checkbox element, instead you use a text element. And for the value you can copy and paste the what the checkbox shows as stated above. You can copy directly out of the message from 12-06-2021 and paste that into the flow when setting the variable. So if the column = Yes/true then you would populate the text element with the checked symbol, otherwise populate it with the unchecked. If you need more info I would probably have to see your flow and the error it is giving.

I did the same. 

lolla70_0-1646253598217.png

 

lolla70_1-1646253609363.png

 

lolla70_2-1646253620203.pnglolla70_3-1646253637800.png

lolla70_4-1646253656602.png

 

 

rj0435
Frequent Visitor

Ok, I attempted this and thought I had it but I'm close. Can you take a look and give me your thoughts on why the EmailOnly is still passing through as "checked".   

 

 

 

jdoss
Resolver III
Resolver III

In your second condition, you set EmailOnlyAll back to checked after setting it to unchecked and I think you want to be setting EmailOfficeAll in that one.

rj0435
Frequent Visitor

Bingo!! Thank you

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,107)