--- title: "XMLPORTXMLGENERATOR activity" slug: "bc-xmlportxmlgenerator-activity-setup" tags: ["BC", "BIS", "Business Central", "Business Integration Solutions", "Concept", "Task"] updated: 2026-06-25T09:59:07Z published: 2026-06-25T09:59:07Z canonical: "docs.staedean.com/bc-xmlportxmlgenerator-activity-setup" --- > ## 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. # XMLPORTXMLGENERATOR activity In Business Integration Solutions, use the **XMLPORTXMLGENERATOR** activity to generate an XML document using a Microsoft Dynamics 365 Business Central XMLPort. ## Usage Use this activity to export Microsoft Dynamics 365 Business Central data via available XMLPorts. ## Concept Many AL (C/SIDE) developers and Microsoft Dynamics 365 Business Central consultants are familiar with creating and working with XMLPorts. XMLPorts are object types that can import and export data. The data in XMLPorts is encapsulated in XML format, which makes it possible to exchange information between different computing systems in a streamlined way. If you already have XMLPorts available and want to use them in a configuration, use the **XMLPort XML Generator** activity to export data. This activity invokes a Microsoft Dynamics 365 Business Central XMLPort object in a Business Integration Solutions connection. You can use this activity to include exports based on calculations or temporary tables. > [!NOTE] > **Note** > > **XMLPort XML Generator** activity supports pipelines with a filter set or a single record. Pipelines that contain record sets result in either an error or run the XMLPort without Anywhere Mobility Solutions filters. See Setup for details. **User Event** and **Code Event**: using one of these events combined with the **XMLPort XML Generator** activity runs the XMLPort without Anywhere Mobility Solutions filters. [Microsoft Dynamics 365 Business Central] ➡️ [XML Port XML Generator] ➡️ XML output (XML port) ## Settings - **XMLPort Name:** The object name of the XMLPort to run. - **Generate without filter:** When no filter can be set on the XMLPort, this option lets the activity continue without generating an error. ![[image of XMLPORTXMLGENERATOR Setup page]](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/BIS_XMLPortXMLGeneratorSetup.png) ## Related - [Set up the XMLPort XML Generator activity](/bc-set-up-the-xmlport-xml-generator-activity.md)