--- title: "Adding dox42 template configurations to Microsoft Dynamics CRM or D365 CE" slug: "adding-dox42-template-configurations-to-microsoft-dynamics-crm-or-d365-ce" tags: ["d365CECRM", "task", "CE V5.0"] updated: 2026-06-08T09:47:06Z published: 2026-06-08T09:47:06Z canonical: "help.dox42.com/adding-dox42-template-configurations-to-microsoft-dynamics-crm-or-d365-ce" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.dox42.com/llms.txt > Use this file to discover all available pages before exploring further. # Adding dox42 template configurations to Microsoft Dynamics CRM or D365 CE There are two options for adding template server configurations to Microsoft Dynamics CRM or D365 CE. ## Option 1: Adding a dox42 template configuration via the dox42 model driven app ### Steps 1. Open your D365 CE or Dynamics CRM. 2. Go to the nine-dot menu in the top left corner. Select **dox42 app** > **dox42 Template Configurations****.** 3. Select the **New** button. 4. Enter a value in the **Name** text field depending on your integration scenario: ![Configuration settings for a new dox42 template in Dynamics 365 interface.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/image-1746010610733.png) Configuration settings for a new dox42 template in Dynamics 365 interface. - When using [integration option 1](/v1/docs/option-1-integrating-the-dox42-calls-as-buttons-1): the name of the template configuration has to match the name you will use in the Power Apps button command. - When using [integration option 2 (dox42 pop-up)](/v1/docs/option-2-integrating-the-dox42-calls-as-pop-ups): the name you put here, is the name that will be displayed for this template in the dox42 pop-up. 5. Choose a service from the **Service** dropdown. 6. Enter a value in the **Template Url** text field. The template location is build out of the service connection (Template base url) and the Template Url of the template configuration. These two values are concatenated. If you are generating Excel spreadsheets, please specify the path of the data map. 7. From the **Http Method** menu, choose which method your dox42 call should use: - **POST**: If you generate a document from a list with several IDs or when using the dox42 pop-up and a Requestbody as input parameter. - **Auto**: ensures that whenever you pass a list of Ids, the request method will be POST, otherwise GET is used automatically. - **GET** 8. From the **Operation** menu, choose which operation your dox42 call should use: - **Generate Document**: for Word templates. - **Generate Slides**: for PowerPoint templates. - **Generate SpreadSheet**: for Excel templates. 9. In the **Additional Query String** text field enter your defined query string for your dox42 Output actions. Example: If you want to return your document as PDF, the Additonal Query string looks like this: `ReturnAction.Format=pdf`. > [!NOTE] > Note > > Find all available dox42 Output Actions and parameters in the [dox42 Server documentation](/v1/docs/dox42-server). > > For more information on attaching documents as an annotation to an entity, or sending emails via D365 CE, see [Output Action CRMOutputAction](/v1/docs/output-action-crmoutputaction). > > Use the dox42 Server Designer for an easy set-up of the query string. 10. When working with the [dox42 integration option 2 (dox42 pop-up)](/v1/docs/option-2-integrating-the-dox42-calls-as-pop-ups): 1. From the **Primary entity**, choose in which entity the template should be displayed. 2. From the **Language** menu, choose the template’s language. > [!NOTE] > Note > > The Language parameter serves as a categorizer for your dox42 pop-up. If you select English here, then this template configuration will be shown when you select EN in the popup, if you selected DE it will be shown alongside all DE templates in your popup. You can add further languages within the dox42 D365 CE | Dataverse solution (**Advanced Settings > solutions> dox42 client libraries > languages**). 3. From the **Output types** menu, choose one or more document types for the output. > [!NOTE] > Note > > If you use the “Output Types” to dynamically choose the format the document should be generated as from your pop-up, you will need to specify your input parameter in your dox42 template as `RequestBody` and include `format` as one parameter (See [Setting up the RequestBody input parameter for the dox42 pop-up web resource](/v1/docs/setting-up-the-requestbody-input-parameter-for-the-dox42-pop-up-web-resource)). In this case, the additional query string needs to have dynamic values for the format. Example: `ReturnAction.Format=<%parameters.format%>` 4. and other formats. ![Configuration settings for SalesQuote_popup in dox42 template management interface.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/adding-dox42-template-configurations-to-microsoft-dynamics-crm-or-d365-ce-image-917qa9b2.jpg) dox42 template configuration via the dox42 model driven app 11. Select the **Save** button. ### Result You have added a dox42 template configuration via the dox42 model driven app. ## Option 2: Adding a dox42 template configuration via the dox42 custom entities (for Dynamics CRM on-prem) ### Steps 1. Open your D365 CE or Dynamics CRM. 2. Go to **Settings > Extensions**. 3. Select the **dox42 Template Configuration** entity. ![dox42 Template Connector highlighted in extensions section of application settings.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/adding-dox42-template-configurations-to-microsoft-dynamics-crm-or-d365-ce-image-uf38nusr.png) **Template Configuration** The **Active dox42 Template Configuration** page opens. 4. Select the **New** button. ![Active dox42 Template Configuration Connections page](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/adding-dox42-template-configurations-to-microsoft-dynamics-crm-or-d365-ce-image-7abob9db.png) **Active dox42 Template Configuration Connections** page 5. Enter a value in the **Name** text field depending on your integration scenario: - When using [integration option 1](/v1/docs/option-1-integrating-the-dox42-calls-as-buttons-1): the name of the template configuration has to match the name you will use in the ribbon workbench button command action. - When using [integration option 2 (dox42 pop-up)](/v1/docs/option-2-integrating-the-dox42-calls-as-pop-ups): the name you put here, is the name that will be displayed for this template in the dox42 pop-up. 6. Choose a service from the **Service** menu. 7. Enter a value in the **Template Url** text field. The template location is build out of the service connection (Template base url) and the Template Url of the template configuration. These two values are concatenated. If you are generating Excel spreadsheets, please specify the path of the data map. 8. From the **Http Method** menu, choose which method your dox42 call should use: - **POST**: If you generate a document from a list with several IDs or when using the dox42 pop-up and a [RequestBody](/help/docs/setting-up-the-requestbody-input-parameter-for-the-dox42-pop-up-web-resource) as input parameter. - **Auto**: ensures that whenever you pass a list of Ids, the request method will be POST, otherwise GET is used automatically. - **GET** 9. From the **Operation** menu, choose which operation your dox42 call should use: - **Generate Document**: for Word templates. - **Generate Slides**: for PowerPoint templates. - **Generate SpreadSheet**: for Excel templates. 10. In the **Additional Query String** text field enter your defined query string for your dox42 Output actions. 11. Example:If you want to return your document as PDF, the Additonal Query string looks like this: `ReturnAction.Format=pdf` > [!NOTE] > Note > > Find all dox42 parameters in the [dox42 Server documentation](/v1/docs/dox42-server). > > For more information on attaching documents as an annotation to an entity, see [Output Action CRMOutputAction](/v1/docs/output-action-crmoutputaction). > > Use the dox42 Server Designer for an easy set-up of the query string. ![](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/adding-dox42-template-configurations-to-microsoft-dynamics-crm-or-d365-ce-image-6r45sqnb.png) **dox42 Template Configuration: Information** page 12. When working with the [dox42 integration option 2 (pop-up)](/v1/docs/option-2-integrating-the-dox42-calls-as-pop-ups): 1. Enter the primary entity. 2. Select a language 3. and other parameters. 13. Select the **Save** button. ### Result You have added a dox42 template configuration via the dox42 custom entities.