Get started with XMLports

Completed

To use an XMLport to import or export data, you must first create an XMLport object. You can run the XMLport from a page or codeunit object.

Importing and exporting data is useful when data is collected outside of Business Central and must be incorporated into the database. Alternatively, importing and exporting can be beneficial when the data must be distributed from the Business Central database to an external location.

Streaming is useful when you are manipulating data that is stored in binary large object (BLOB) fields in Business Central tables, or when you exchange data between Business Central and other objects.

XMLports are used to import and export data to and from external XML document files or text files. XML documents that are created by XMLports encapsulate the data in XML format, which helps streamline the exchange of information between different computer systems. You can use text files when exchanging information with legacy systems or with Microsoft Excel.

The following figure shows components of an XMLport and how they are related.

Diagram of the XMLport components and how they are related.