--- title: "Set up the XML to Text Translator activity" slug: "bc-set-up-the-xml-to-text-translator-activity" tags: ["BC", "BIS", "Business Central", "Business Integration Solutions", "Task"] updated: 2026-06-25T07:53:22Z published: 2026-06-25T09:59:17Z canonical: "docs.staedean.com/bc-set-up-the-xml-to-text-translator-activity" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Set up the XML to Text Translator activity Use the XML to Text Translator activity to send data in a fixed-length format to external parties. ## Steps 1. Create a connection and insert the element **XMLTOTEXTTRANSLATOR**. 2. On the elements line, select **Edit**. 3. On the **XML to Text Translator Setup** page, fill in the following fields: 4. Select **Check Configuration** to see if there are Anywhere Mobility Solutions configuration errors. 5. Select **OK**. ## Settings | Field | Description | | --- | --- | | Document Type | Select the document type: either **Internal** or **External**. | | Document No. | Based on the document type, select the document. | | Include Headers | Select this field to include header details in the text output. | | Node Name | Filled in automatically based on the selected document. | | Width | Specify how many characters the field includes. | | Alignment | Specify the alignment: **Left** or **Right**. | | Filler Character | Specify which character fills the empty places in your text file. | | Encoding | The activity supports the encoding types supported by standard Microsoft Dynamics 365 Business Central: **Unicode**, **UTF8**, and **ASCII**. | | Codepage | To write the file in a specific encoding type, set **Encoding** to **Others** and specify the codepage ID. For more information about encoding code page numbers, see the [Encoding Class](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding?view=net-10.0&redirectedfrom=MSDN) topic in MSDN. | ![XML to Text Translator Setup](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/BIS_XMLToTextTranslatorSetup.png) ## Related - [XMLTOTEXTTRANSLATOR activity](/bc-xmltotexttranslator-activity.md)