# XMLport overview
An XMLport is composed of the following items:
 An XMLport object
 An XMLport schema
 A Request page
 Properties, triggers, and code
## XMLport object
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 Business Central with XMLports. See devenv-xmlport-object.
### XMLport schema
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 Business Central database tables and the format and structure of the files used. You build the XMLport schema by adding nodes. See Defining an XMLport schema<devenv-xmlport-schema>.
## Request page
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. See devenv-request-pages.
> NOTE
> Unlike report request pages, XMLport request pages can't be bookmarked by users from the user interface.
## XMLport properties, triggers, and code
XMLport objects include triggers, methods, and properties that can be used to work with the object. See methods-auto/xmlport/xmlport-data-type and triggers-auto/xmlport/devenv-oninitxmlport-xmlport-trigger.
When you design XMLports, set the value of the Format property (XMLports)<properties/devenv-format-property> and the properties/devenv-direction-property. The Format property (XMLports)<properties/devenv-format-property> indicates the type of file that you want to import or export. The properties/devenv-direction-property value indicates whether the XMLport is used for import or export.
Learn more about data consistency and validation against possible errors when using XMLports in the blog post Importing and exporting valid data using XMLports in Dynamics 365 Business Central<https://cloudblogs.microsoft.com/dynamics365/it/2019/05/22/importing-and-exporting-valid-data-using-xmlports-in-dynamics-365-business-central/>.
## Related information
devenv-xmlport-object
Defining an XMLport schema<devenv-xmlport-schema>
devenv-using-namespaces-with-xmlports
devenv-request-pages
methods-auto/xmlport/xmlport-data-type
triggers-auto/xmlport/devenv-oninitxmlport-xmlport-trigger

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-xmlport-overview, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/devenv-xmlport-overview/
