web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Word Template - Boolean "Yes, No" instead checkbox

(0) ShareShare
ReportReport
Posted on by 510

Hi guys.

I've mapped some Boolean fields from Dynamics CRM to the word template, but when I download my word template, the boolean values are showing "Yes and No" values. How can I convert it to a checkbox?

BOOOOL.PNG

*This post is locked for comments

I have the same question (0)
  • TomSmelser Profile Picture
    1,570 on at

    If this is a merge. You would code some if logic in your word doc.

    Like: { IF { MERGEFIELD somefield } = "Yes" "A" "B" }

    But instead of A and B you are going to use a special character for checkbox.

    See here for symbols: www.extendoffice.com/.../894-word-insert-checkbox-symbol.html

  • HenriquePalomo Profile Picture
    510 on at

    Hello Tom. Thanks for answer, I've tried 3 approaches but didn't work for me.

    Seems that the field inside the statement is not returning the correct value.
    The Liability = "Yes" is my field outside a statement.

    6076.222.PNG

    6076.222.PNG

  • Community Member Profile Picture
    on at

    Been a while since this was posted, but i have the same issue, and can't seem to find a solution or workaround.

    using the Word Templates (not mail merge)

  • TomSmelser Profile Picture
    1,570 on at

    Just following up on this. 

    I don't think you can do this with the newer Word templates. Using Word mail merge though I have been able to use this.

    Example from out of the box account entity checking the credit hold field.

    { IF { MERGEFIELD Credit_Hold } = "Yes" "HOLD" "NO HOLD" }

    Note when inserting condition you have to use CTRL-F9 to insert to curly brackets. You cannot type them.

    Read here for some detail: wordmvp.com/.../MMergeIfFields.htm

     

  • Suggested answer
    Ian Mc Profile Picture
    on at

    Hi Henrique,

    Came across your query yesterday when I was looking for a somution for the same thing myself.  I had a blinding flash idea at 2am this morning and have tried it today and it works, so just in case you don't have a soluition, try this.

    I changed the boolean options from "Yes" and "No" for the field(s) I am using to "x" and "o".  I then set the font for the text in the Word Template where I want the check box(s) to appear to Wingdings (14 points) and when I generate the document from CRM, the "x" will com out as a checked box and the "o" as an unchecked box.

    Hope it helps.

    Ian McV

  • Ian Mc Profile Picture
    on at

    Joe,

    See my solution to the problem below, just in case you still have the problem.  In summary I changed the options for my boolean fields to "x" and "o" and changed the font in the document to Wingdings.  Hope it hel;ps.

    Ian McV

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans