Introduction

Completed

XMLports are used to export and import data between an external source and Dynamics 365 Business Central. Sharing data between different computer systems is seamless when it's shared in XML format. Working with XML files can be tedious, so the details of how the XML file is handled are encapsulated in XMLports.

XMLports are objects that you can use to export data from or import data into Business Central. XMLports can manipulate the data in XML format or text format. Additionally, they can access data directly in memory by using streams. XML format enables information exchange between different computer systems and is a preferred format for importing and exporting data because most computer systems can handle it.

When data needs to be exchanged with legacy systems, XMLports also provide support for files in text format in either variable or fixed-width length.

In this module, you'll learn how to create, define, and use XMLports. Additionally, the different nodes and properties are discussed, and you'll learn how to use an XMLport in AL code.