• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/Template Designer(DCP)/The “Insert Advanced String Field” button in Open Office XML template (.docx)

The “Insert Advanced String Field” button in Open Office XML template (.docx)

360 views 0 Updated on February 26, 2023

This article outlines the Insert Advanced String Field functionality within the Computed Items button in Open Office XML template (.docx). This functionality offers the option to combine multiple fields into a single field. It is available for every selected template type and for every inserted field.

Requirements: Available for DocumentsCorePack for MS CRM 2013, v 6.10 and higher.

Example: 

Example of field properties of an advanced string.

Figure 1: Field properties of an advanced string

image
An inserted and merged advanced string.

Figure 2: Inserted and merged advanced string.


OVERVIEW: The Computed Items button 

The Computed Items button contains the following new functionalities:

  • The Insert Advanced String Field button: allows you to insert as many fields as you want in one single field.
  • The Insert Computed Field button: allows you to make basic arithmetical operations with CRM-number-fields.
The Computed Items button.
The Computed Items button options.

Figure 3: Computed items button

Click here to read more about the other useful functionalities of the Insert button.

Step-by-step description on how to use the “Insert Advanced String Field” functionality 

Step 1. Open the DocumentsCorePack Task Pane
You can find the new function in the DocumentsCorePack (DCP) Task Pane. To get there, open an existing template or create a new one. Go to the www.mscrm-addons.com tab and click on Insert MailMerge Fields in the toolbar. Create an Office Open XML (.docx) document by answering Yes to the prompted question.

Create an Office Open XML (.docx) document.

Figure 4: Open new template

The DCP Task Pane appears.

The DocumentsCorePack task pane.

Figure 5: DocumentsCorePack Task Pane

At the top of the DCP Task Pane, choose an account type. In our example, it’s Quote.

Step 2. Choose the appropriate “Insert” functionality
Click on the drop-down button within the Insert button and choose the Insert Advanced String function.

Select the Computed Items button.
Select the Insert Advanced String-Field option.

Figure 6: Computed Items > Insert Advanced String-field

Step 3. Insert multiple fields and define an optional name
In the next window, you have the possibility to insert as many fields as you want in one single field. Next to this an optional name can also be defined.

Insert multiple fields and define an optional name.

Figure 7: Insert multiple fields and define an optional name

Every field is displayed with angle brackets and separated with a “+” sign in between. For example: <>+<>. Additionally, you have also the possibility to specify the name of the different fields, as follows.

Step 4. Specify field-name
This setting predefines the name of the fields generated with this template. As mentioned above, it’s possible to use data from fields outside of CRM to be part of the field-name. You can also generate the field-name dynamically, based on constant characters and/or values of fields.

Constant characters have to be in single quotes. To use field values in the field-name, you must choose the fields as described above or write the field-name (schemaname) surrounded by <>. Some examples:

field-name possible field-name results
‘quote-‘+<>.pos(4,5) quote-12345
<>+’-‘+<> TestCompany-QUO-12345-KWKJQ6

Figure 8: Examples for field names

Please note: It is important that the inverted commas are also set.

Click here for more information about additional format and display functions for field-options.

Step 5. Define field-name:
You can also define a name for this field, such as quote information. If a name is not typed in the default name, Advanced String will be set.

Define field-name.

Figure 9: Define field name

A sample inserted field.

Figure 10: Inserted field

Step 6. Save and merge your template
Next, save your template and merge it with data from CRM.

Save your template.

Figure 11: Save template

Step 7. The result
The possible result could look like this:

Sample result.

Figure 12: Result

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
  • How to update the metadata in the DocumentsCorePack Template Designer
  • Working with Product Properties in DocumentsCorePack
  • How to work with the Relationship Manager
  • Using virtual tables in DocumentsCorePack
  • DocumentsCorePack Template Designer Settings
  • How to solve: Failed to connect to an IPC Port
Latest Articles
  • How to share the Connection of the DocumentsCorePack Connector
  • How to update the metadata in the DocumentsCorePack Template Designer
  • Working with Product Properties in DocumentsCorePack
  • How to work with the Relationship Manager
  • Using virtual tables in DocumentsCorePack
Popular Articles
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • DocumentsCorePack Template Designer – Getting Started
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • DocumentsCorePack Online Service Configuration
  • Step-by-Step: How to configure a One-Click-Action
Top Rated Articles
  • IMPORTANT information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Step-by-Step: How to configure a One-Click-Action
  • Online Services: Required Application Permissions
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
Categories
  • *News and General Infos* 51
  • Webinars 35
  • Template Designer(DCP 179
  • DocumentsCorePack(DCP 192
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 62
  • PowerSearch (PS 48
  • ActivityTools (AT 59
  • SmartBar (SB 53
  • GroupCalendar (GC 46
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
  • © 2022 www.mscrm-addons.com. All Rights Reserved.