--- title: "Using labels from an Excel file" slug: "using-labels-from-an-excel-file" description: "Transform your document templates by using Excel labels instead of hard-coded text for multi-language support. Simplify your reporting process today!" tags: ["d365fscm", "task", "FSCM V2.0.0.2"] updated: 2025-07-22T09:05:23Z published: 2025-07-22T09:05:23Z canonical: "help.dox42.com/using-labels-from-an-excel-file" --- > ## 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. # Using labels from an Excel file Normally the headlines of the placeholders are written hard-coded into the report. This has the big advantage of the template being easy-to-read. However, if you need to support multiple language it has the disadvantage of needing a separate report for each language. The solution is to use labels instead of hard-coded text. ## Steps 1. Create an Excel file with the required languages. ![Spreadsheet showing language options and corresponding item descriptions in English and German.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/using-labels-from-an-excel-file-image-9n3cavha.png) Excel file with two languages The Excel language file is integrated to the Data Map the same way as the connection file 2. 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. 3. Select the **Excel** button. ![Excel data source initialization window with fields for name and file selection.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/dox42_Addin_DataMap_Excel.png) **Excel** window 4. Insert a name for the Excel file. 5. Insert the path from the Excel file, always using the `<%DocPath%>`. Example: `<%DocPath%>..\MyFile.xlsx` The `..\` tells the system to look a level above in the folder structure and there it will find an Excel file named **MyFile.xlsx**. Using `<%DocPath%>` makes it possible to copy the data map and insert it to another report folder without the need of changing the path. 6. Select the **Data Source Output** tab. 7. Select **First Row of selected Range contains Column Names** checkbox. 8. Select the **…** button to select the fields from the Excel file. The Excel file opens. 9. Mark the area with all the data. ![Data mapping interface showing Excel data source configuration and highlighted data range.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365FSCM_Using_labels.png) Data to be included from the Excel file 10. Filter the Excel language file as follows. ![Filter and sort options displayed in a data management interface for language selection.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365FSCM_filter_sort_labels.png) 11. Select **OK**. 12. Change the hard-coded text label in the document template with the label placeholder. ![Highlighted ItemID with related fields for data entry in a user interface.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365FSCM_labels_change_placeholders.png) ## Result Your document template is using the Excel labels instead of hard-coded text.