• Archive
  • Back to www.mscrm-addons.com
  • Archive
  • Back to www.mscrm-addons.com
home/Knowledge Base/Template Designer(DCP)

Insert Condition Fields (Dynamics 365)

294 views 0

Written by Administrator
January 29, 2018

The Condition field functionality property allows you to define dynamic content
that is either displayed or removed from the final document based on a certain condition.
This webinar also covers this topic in detail.
A condition block is represented by a  placeholder in the template and is also called content control (1).
The following step by step description will show you how to insert a condition field
with the DocumentsCorePack Client in your template.

 

The example below shows a template that contains two conditions fields (if else)
and the result with the one remaining field.

Example of an if else statement
Figure 1: Example of an if else statement

 

If you are not sure how to get to the insert fields option, please take a look at this article first.

 

  1. Use the Condition field option

    Insert condition field
    Figure 2: Insert Condition field

     

 

​

 

  1. Give your condition a descriptive name.
    A descriptive name makes it easy to re-use existing conditions in a template.

    Condition field dialog
    Figure 3: Condition field dialog

     

  2. Configure the setup of your condition fields
    Enable or disable the automatic creation of an else block (1).
    If an else block is created you can define the layout of the
    inserted condition fields (2)(3).


    Figure 4: Condition field layout options

    Below you can see an example of the two formatting options when using an else block.
    The else block is inserted next to each other (1) and below each other (2).

    Appearance of the fields in a template when using below each other
    Figure 5: Appearance of the fields in a template when using below each other

    PLEASE NOTE: A else block is always the negated version of your real condition.
    You always can identify such an element by the prefix “<!>” before the actual name.

     

     

     

 

Related Topics:
Insert a Hyperlink

 

 

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com.

 

reworkneeded.. links are old .. reference other articles and check for duplicates. //Part of DCP Client In-App Docu

Was this helpful?

Yes  1 No
Related Articles
  • General Settings – DocumentsCorePack Server Based
  • How to use the Insert-as-Picture-Link-Field-button in Dynamics-365
  • How to use the Insert-as-Picture-Link-Field-button in Dynamics-365
  • Documents generated in Flows cannot be opened
  • How licenses are counted
  • How to setup editable sections in your template (Dynamics 365)
Latest Articles
  • TemplateImportExport Console Application – DCPIE.exe
  • How to trigger a Microsoft Flow from dialog
  • General Settings – DocumentsCorePack Server Based
  • How to use the Insert-as-Picture-Link-Field-button in Dynamics-365
  • What is “documents incl. per month”
Popular Articles
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • How licenses are counted
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • How to work with the new DocumentsCorePack custom connector for PowerAutomate (Microsoft Flow)
  • DocumentsCorePack Charts Feature (Dynamics 365)
Top Rated Articles
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Can you save data capacity by moving email content?
  • Recap of the first virtual eXtreme365 & Community Summit event
  • Step-by-Step: How to configure a One-Click-Action
  • How to set up an email content service
Categories
  • *News and General Infos* 43
  • Template Designer(DCP 151
  • DocumentsCorePack(DCP 146
  • TelephoneIntegration (TI 62
  • AttachmentExtractor (AE 47
  • PowerSearch (PS 43
  • ActivityTools (AT 55
  • SmartBar (SB 50
  • GroupCalendar (GC 43
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2020 www.mscrm-addons.com. All Rights Reserved.