mscrm-addons.com logo displayed here.mscrm-addons.com logo displayed here.
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/Map user-input into documents via user prompts

Map user-input into documents via user prompts

3892 views 1 Updated on May 26, 2025

User prompts enable users to enter information that is mapped into the final document directly from the DocumentsCorePack (DCP) dialog. This article describes step-by-step how to set up user prompts.

Users can configure prompts to ask:

  • For additional text via a textbox
  • To define the date/time values via a date-time picker (e.g. reporting)
  • To select from a list of predefined options of text

For example, if a user was generating a quote, they could add a personalized introduction to the document, insert the day/time that the document is sent, and select how many days the document is valid for. 

Other common use cases include adding specific legal terms for different quotes, personal notes for different contacts/accounts, etc. 

This blog article covers step-by-step how to set up user prompts in the DocumentsCorePack Template Designer.

Prerequisites:

  • The new DateTime feature requires the DCP TemplateDesigner version 10.25.

Creating and using prompts

The following step-by-step description explains how to set up such prompts in your templates.

Example of prompts in the DCP dialog.
Figure 1: Example of prompts within the DCP Dialog

Step 1: Create a Prompt

Users define prompts in a template within the Advanced Template Settings of the DCP Template Designer. To access the prompt settings:

❶ Navigate to the mscrm-addons.com tab.
❷ Click Insert MailMerge Fields to open the DCP task pane.
❸ Go to Advanced Template Settings.
❹ Select Prompts.

Add and edit prompts from the advanced settings of the DCP template designer in Word
Figure 2: Add and edit prompts from the Template Designer Advanced Settings

The Prompt Editor allows you to:

❶ Create prompts
❷ Edit prompts
❸ Delete prompts
❹ Edit the order of how the prompts should appear in the DCP dialog

The options to add, edit, delete, and order prompts
Figure 3: Options to add, edit, delete, and order prompts

Step 2: Adding a prompt

You can create a new prompt with the Add button. This will redirect you to a new window, pictured below.

Necessary fields for a prompt
Figure 4: The aspects of a user prompt field

The following properties must be configured:

❶ Display Name: The text displayed within the field itself once inserted into the template. Note that this name does not allow for certain special characters.

❷ Type: The type of prompt field to be created. There are four different types of prompts that can be selected:

  • Text (as single or multiline): A text prompt allows the user to enter additional text in the DocumentsCorePack Dialog that will be added to the generated document. A text prompt can be a single line of text, or a textbox (by checking the allow line breaks option).
  • Checkbox: A checkbox prompt enables you to either add or remove optional predefined content in the document.
  • Select: A select prompt enables you to select from a list of predefined options of text.
  • DateTime: There are 3 options for how to display the DateTime prompt. The default setting is DateTime, where both (date and time) are displayed. You can also choose to show just the date or just the time.

❸ Labels: The text displayed in the DocumentsCorePack Dialog before the acutal control (see Figure 1 above). Each prompt requires at least one label. If a label for the current user language in Dynamics 365 is set, this translation will be displayed. If there is no label that matches the current user’s language, the system will display first one in the list.

Note: Users can also format labels using basic HTML tags.  For more information, see here.

Optionally, the Required checkbox can be selected to make the user prompt a mandatory field.

Once you have created a prompt, click ❹ OK to save the prompt. You can then insert it into your template.

Step 3: Insert a prompt to your template

To insert prompts into your DCP template, navigate back to the Template Designer and select Insert Field > Computed Item > ❶ Prompt Field. Then, select from the available prompts that you have previously created.

❷ For Select prompts, there is an additional step where you need to insert each individual option under that prompt. 

Insert prompt from the DCP Template Designer
Figure 5: Insert a prompt from the Template Designer

Each prompt is handled slightly differently by the DocumentsCorePack Dialog:

❶ Text and ❷ DateTime prompts do not require any further steps after they inserted into the template, as they will later be replaced by the user’s input.

Figure 6: On the left, the fields as initially inserted in the template. On the right, the fields have been replaced by user-entered data.

❸ Checkbox and ❹ Select prompts must have the content of their fields replaced in the template. The placeholder text can be replaced by clicking into the field and modifying the text.

Figure 7: On the right, the fields as initially inserted. On the right, the placeholder text has been modified.

For Checkbox prompts, enabling or disabling them in the DocumentsCorePack Dialog will cause the field to appear or disappear in the result document. For Select prompts, only one field will appear, depending on which field is selected in the dropdown in the Dialog.

Figure 8: Left – The fields as inserted in the template; Middle – The discount field (checkbox) has been enabled and the first option for the delivery terms has been selected; Right – The discount field has been disabled and the second delivery term was selected.

Once the needed user prompts and content have been added to your template, save the template to your environment via the Save Template option in the www.mscrm-addons.com.

Step 4: Using prompts in the DocumentsCorePack Dialog

After selecting your template, the DocumentsCorePack Dialog will automatically show the defined user prompts during the generation process, as seen in the example below.

Example of prompts shown in the DCP dialog
Figure 9: Example of prompts within the DCP Dialog 

Lookup prompts for relations

Prompts can be created through the Relationship Designer as well, though only lookup prompts can be created. These prompts differ from standard prompts in that they can be used to select specific records to be displayed in a given table, acting as a sort of filter.

Lookup prompts for relations can be created in the Relationship Designer
Figure 10: Lookup prompts for relations can be created in the Relationship Designer, as highlighted here.

Lookup prompts cannot be added to templates. Instead, they are displayed in the DocumentsCorePack Dialog when generating a document.

A lookup prompt in the DCP Dialog
Figure 11: A lookup prompt highlighted above

More information on lookup prompts for relations can be found here.

Using prompts in the DocumentsCorePack connector

Prompts can also be used within PowerAutomate with the DocumentsCorePack connector. Learn more about how to use the DCP connector here.

Users can utilize this feature with the Create Document action of the DocumentsCorePack connector under the Advanced Options section.  

Example of prompts shown in PowerAutomate
Figure 12: Example of prompts within PowerAutomate 

To add a text prompt, enter the name of the prompt field and its value in the respective Name and Value fields.

An example text field entered under Prompt
Figure 13: An example text field entered under Prompt

To add a checkbox or select prompt, enter the name of the field in the and follow it with “_ovalue” to preserve the field’s formatting. For the value, enter 1 or 0 for checkbox fields to represent true or false respectively. For select fields, enter the value that corresponds to a specified option (1 to represent the first option, 2 to represent the second, ect.).

As of now, DateTime prompt fields are not supported by the DocumentsCorePack connector.

A select field (top) and a checkbox field (bottom) enter under Prompt
Figure 14: A select field (top) and a checkbox field (bottom) enter under Prompt

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

Was this helpful?

1 Yes  No
Related Articles
  • Deploying DocumentsCorePack: Setup, Automation, and Real Business Impact in Dynamics365
  • Introducing the DocumentsCorePack Template Designer Office Add-In (Beta)
  • 3 Ways DocumentsCorePack Transforms Proposal, Quote, and Contract Creation
  • DeepSign for DocumentsCorePack 
  • Generate and send a document for e-signing using DeepSign
  • How to prepare a document for DeepSign
Leave A Comment Cancel reply

You must be logged in to post a comment.

Latest Articles
  • What Happens After You Deploy AttachmentExtractor: Storage & Cost Savings in Dynamics 365
  • Deploying DocumentsCorePack: Setup, Automation, and Real Business Impact in Dynamics365
  • Introducing the DocumentsCorePack Template Designer Office Add-In (Beta)
  • How to Eliminate Excess Storage Costs in Microsoft Dynamics 365 Without Losing Access to Emails and Attachments
  • 3 Ways DocumentsCorePack Transforms Proposal, Quote, and Contract Creation
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Application Access for Dynamics 365
  • How to find your environment’s unique name in Microsoft Dynamics 365
  • How licenses are counted
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • Important information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack Connector for PowerApps & Microsoft Flow
  • How to insert Condition Fields in DocumentsCorePack Templates designer
  • How licenses are counted
Categories
  • *News and General Infos* 64
  • Webinars 45
  • Template Designer(DCP 196
  • DocumentsCorePack(DCP 258
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 75
  • PowerSearch (PS 50
  • ActivityTools (AT 61
  • SmartBar (SB 54
  • GroupCalendar (GC 47
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.