Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

if-funcionality in Word-Templates in the cloud

Posted on by 15

I am having the following challenge: We need to bring existing word templates, that were used for mail merging in an onprem version of dynamics in the cloud version, where they shall not be used as mail merging templates (I am aware, that thie functionality does no longer exist in the cloud) but as templates for single records. The problem is, that the templates include various if-functions, that control whether or not a field is shown or which of the content of two different fields needs to be included in the template depending on certain conditions defined in the if-functions.

I couldnt figure out how to make this work in the word templates in the cloud. Has anybody an idea to help besides add-ins like documents corepack? I also already tried this workaround: https://crmtipoftheday.com/716/conditional-values-in-word-templates/ ... and didnt succeed with it.

Many thanks in advance!

Cheers

  • Verified answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: if-funcionality in Word-Templates in the cloud

    Hi,

    There is currently no OOTB method to achieve the if-control.

    Here is a tutorial about how to achieve the if-control with Flow.

    Make your Dynamics templates shine with Microsoft Flow | Empired

     

    Or you can seek further help from some third party Word add-ons.

  • Verified answer
    AriaConsulting Profile Picture
    AriaConsulting 2,655 on at
    RE: if-funcionality in Word-Templates in the cloud

    Hi Sebastian,

    The only way I'm aware of that you can use if statements is to either do so as custom controls, or use a Flow.  I will leave it open to anyone else that might know another way.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans