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

Conditional Formatting (Dynamics 365)

198 views 0

Written by Administrator
May 9, 2019

The Conditional Formatting is an additional feature to the Condition functionality of DCP. While the standard Condition functionality either removes or keeps a field on your document the conditional formatting keeps the current format or applies a different format based on a Word style sheet. The description of the normal condition functionality can be found here.
This functionality requires version 9.24 or higher of the client and version 2017.169 of the server (or service).

1. Insert a new Condition Field

Insert condition field

Figure 2: Insert Condition field

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

2. 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

3. Select “Conditional formatting”

You have to switch the condition type from Conditional block (if statement) to Conditional Formatting (❶)

Condition field dialog

Figure 3: Conditional Formatting

PLEASE NOTE:  If you do not see this option please ensure you are having the required version installed. How to check your current version is described here.

4. Style section
After you’ve selected the conditional formatting you can use the style section (❶). You only can use custom styles in this selection, so if the drop-down is not enabled you have to create a least a new style as described in the next step.

Condition field dialog
Figure 4: Style selection section

5. Create new style

This will bring up the standard word [Create New Style from Formatting] – dialog.
Condition field dialog

Figure 5: Create a new style

The “Create New Style from Formatting” – dialog has a lot of options so please make sure you read the following part very carefully.

❶ Name: Please define a name that will indicate what this style is used for. (You can re-use styles for all your conditions)
❷ Style type: This is one of the most important steps during the creation of a Style.
Within this selection field, you have 5 options to choose from, we support 3 of them.
– Paragraph: The style will be applied to the whole Paragraph which contains this condition field
– Character:  The style will be applied to the content within this condition field
– Table: This style type will enable the second selection field [Format – Apply to], where you can decide how it should be applied.
❸ Style based on: A base style template can be selected to create the custom style based on an existing style. Besides these three settings, you can use all given options to create your desired output style.
After you have the wanted style click on [OK] to save it.

PLEASE NOTE:
– Do not change the Stylename! We have no option to identify a change of the name and the condition will no longer be able to find the style.
– Not all options available in the standard style sheet configuration of Word are applicable and might be not applied depending on the used style and the context.

6. Select your Style

Since you have created your style, the [Format – Style] selection is now enabled.

Condition field dialog

Figure 6: Select Style

Choose your style and your conditional formatting field is ready to use.
Character should be used when you want to apply the format to a single Word in a Paragraph while Paragraph should be used when you want to apply the formatting to the whole word paragraph.

7. Apply table format

If your selected style is a table style the “Format – Apply to” field gets enabled. This provides you the possibility to pick one out four ways how your table style should be applied.

Condition field dialog

Figure 7: “Format – Apply to” – field

– First Table Inside Field: This option will apply your style to the first table within your condition field.
– Parent Table: When your condition field is within a table, this option will apply the style to this table.
– Parent Cell: The selected style will be applied to the cell which contains your condition field.
– Parent Row: The selected style will be applied to the row which contains your condition field.

8. Please click on [OK] to insert the condition field

If you want to know more about the conditional formatting feature, please take a look at this step by step description. Click here

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

Was this helpful?

Yes  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?
  • How to work with the new DocumentsCorePack custom connector for PowerAutomate (Microsoft Flow)
  • DocumentsCorePack Online Scheme
  • Recap of the first virtual eXtreme365 & Community Summit event
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.