--- title: "Set up the XMLPort Record Generator activity" slug: "bc-set-up-the-xmlport-record-generator-activity" tags: ["BC", "BIS", "Business Central", "Business Integration Solutions", "Task"] updated: 2026-06-25T07:53:27Z published: 2026-06-25T09:59:17Z canonical: "docs.staedean.com/bc-set-up-the-xmlport-record-generator-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 XMLPort Record Generator activity Use the XMLPort Record Generator activity to import data from a file into the D365 BC database using an XMLPort. ## Steps 1. Create a connection and insert the element **XMLPORTRECGENERATOR**. 2. On the elements line, select **Edit**. 3. On the **XML Port Record Generator 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 | | --- | --- | | XMLPort No. | Specify the D365 BC XML port. | ![XML Port Record Generator Setup](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/BIS_XMLPortRecordGeneratorSetup.png) ## Related - [XMLPORTRECGENERATOR activity](/bc-xmlportrecgenerator-activity.md)