--- title: "Creating a data map" slug: "creating-a-data-map" tags: ["AddIn V5.0.4.2", "task"] updated: 2026-11-05T11:06:10Z published: 2026-11-05T11:06:10Z canonical: "help.dox42.com/creating-a-data-map" stale: true --- > ## 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. # Creating a data map Create a data map to effectively link data from different data sources to your document template. A data map is, so to speak, the heart of your template, bringing together all the key information required for the document generation. The data map also contains configurations like [input parameters](/help/docs/input-parameters-for-document-generation), [conditions](/v1/docs/adding-conditions-to-a-text-via-automate-range) or [dynamic columns](/v1/docs/creating-a-dynamic-table). > [!TIP] > Tip > > Once you have created a data map you can reuse it for related document templates that work with the same dox42 module environment with minimal effort. Just copy and paste the data map file into the other document template’s folder. ## Prerequisite - You have [created a document template](/v1/docs/creating-a-document-template). - Save your document template locally on your computer before adding a data map to it. ## Steps 1. In Microsoft Word or Excel, go to the **dox42** ribbon and select **Data Map.** ![Toolbar displaying various functions like Generate, Data Map, and Refresh Template options.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-6me2xixz.png) **dox42** ribbon The **Data Map Designer** window opens. ![Data Map Designer interface showing various data source options for integration.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Bildschirmfoto%202025-04-07%20um%2010.44.58.png) Data Map Designer 2. Go to **File > Save As** and select a directory where to store your data map. > [!TIP] > Tip > > - We recommend saving the data map file in the same folder as the template. In this way you can dynamically change the path of the data map file to the path of the template. If you later need to move the folder, e.g. from `Test` to `Live` (see [Best practice: Managing document templates](/v1/docs/best-practice-managing-document-templates)) or to any other DMS for example SharePoint, you can continue using the template without further adjustments. > - We recommend choosing a name that refers to the document template’s name so that it is always clearly visible to which document template a data map belongs to. **Save your data map to SharePoint** - If you wish to migrate your template and data map to SharePoint, go to **File > Save Data Map to SharePoint** and enter the relevant SharePoint URL there. ![Menu options for file management including new, open, save, and close commands.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Save%20data%20map%20to%20SharePoint_button.png) **File** menu with **Save Data Map to SharePoint** button ![Upload Data Map to SharePoint with options to confirm or cancel the action.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Save%20data%20map%20to%20SharePoint_window.png) **Upload Data Map to SharePoint** window > [!TIP] > Tip > > If you save your template and data map in SharePoint, we recommend [setting up your Entra ID login](/help/docs/connecting-your-dox42-add-in-to-sharepoint-online-via-mfa). 3. Enter a file name and select **Save**. A file with the ending `.dm` is created. ![File directory showing SalesConfirm documents with details like date modified and type.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Bildschirmfoto 2025-06-25 um 11.08.12.png) Newly created data map file 4. Close the Data Map Designer. The **Link Data Map to Document** window opens. ![Options to link a data map to a document in the same directory or absolute path.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Bildschirmfoto 2025-06-25 um 11.01.31.png) **Link Data Map to Document** window. 5. Keep the **Data Map and Document in same Directory** option selected and select **OK**. 6. Save the document template. ## Result You have created a data map that is linked to your document template. ## Next steps - When working with SharePoint, D365 FSCM, MODUS M365 dox42 Document Automation or D365 CE | Dataverse environments: [Manage your connection data in Excel](/help/docs/managing-connection-data-centrally-in-an-excel-file) - [Adding a data source to your data map](/v1/docs/adding-a-data-source-to-your-data-map)