An XMLport is composed of the following items:
An XMLport object
An XMLport schema
A Request page
Properties, triggers, and code
You create an XMLport object in the AL Language development environment to define the schema of an XML document. You can export and import data between an external source and Dynamics 365 Business Central with XMLports. For more information, see XMLport Object.
In order to define the underlying structure of the imported or exported document, you use the XMLport schema. An XMLport schema determines which data is exported from or imported to Dynamics 365 Business Central database tables and the format and structure of the files used. You build the XMLport schema by adding nodes. For more information, see Defining a XMLport Schema.
Request pages are dialog boxes that enable the user to set a filter on the data, sort the data, or choose whether to export or import the data. For more information, see Request Pages.
Unlike report request pages, XMLport request pages cannot be bookmarked by users from the user interface.
XMLport properties, triggers, and code
When you design XMLports, you must set the value of the Format Property (XMLports) and the Direction Property. The Format Property (XMLports) indicates the type of file that you want to import or export and the Direction Property value indicates whether the XMLport will be used for import or export.
For more information about data consistency and validation against possible errors when using XMLports, see the blog post Importing and exporting valid data using XMLports in Dynamics 365 Business Central.