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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Conditional values in Word templates Dynamics 365

(0) ShareShare
ReportReport
Posted on by 105

Hello,

We are using Dynamics 365.

I'm trying to use if condition in word template.

Following the steps mentioned in this link : https://crmtipoftheday.com/716/conditional-values-in-word-templates/

I have bookmarked the column and using the below condition in IF field:

IF totalquantity = 0 “Overdue” “No”

However, it outputs NO for all conditions. 

Are macros supported in Dynamics 365 word templates? If so, any link which could be helpful.

Thanks in advance.

I have the same question (0)
  • Suggested answer
    RajarajanS Profile Picture
    Microsoft Employee on at

    Hello Partner, 

    Thanks for reaching out. 

    We have very little OOB customizable properties of word templates in Dynamics. 

    You can go through the follow links that I have found interesting which have quite detailed examples:

    https://community.dynamics.com/365/f/dynamics-365-general-forum/396909/crm-word-template-conditional-data?pifragment-106147=1#responses

    https://www.youtube.com/watch?v=dsqGbJ2kD3w

    https://www.mscrm-addons.com/Products/DocumentsCorePack can be tried as well, however it is a 3rd party tool.

    Hope all of these help. 

    Warm Regards, 

    Raj

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Suggested answer
    Wahaj Rashid Profile Picture
    11,323 on at

    Hi,

    I tried using bookmarks but they do not work in all scenarios.

    I would recommend following:

    • Implement your logic in the Dynamics 365 Form, that means create custom hidden fields, populate these fields as per your logic and then use these in the template.
    • Second option is to use a add-on called DocumentsCorePack

    There is a similar thread here:

    community.dynamics.com/.../crm-word-template-conditional-data

    Best,

    Wahaj

    (if this answers your query, mark this answer as verified)

  • Thenerdy Profile Picture
    35 on at

    CorePack appears to be much neater but uses FetchXml to return data and as such has a 50 attribute limit. Whereas the native route does not.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans