Business Integration Solutions documentation

About: XMLPORTXMLGENERATOR activity

In Business Integration Solutions, use the XMLPORTXMLGENERATOR activity to generate an XML document using a Microsoft Dynamics BC XMLPort.

Usage

Use this activity to export Microsoft Dynamics BC data via available XMLPorts.

Concept

Many AL (C/SIDE) developers and Microsoft Dynamics BC 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 BIS connection. You can use this activity to include exports based on calculations or temporary tables.

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 any 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 any 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]