Bewerken

Share via


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. For more information, see XMLport Object.

XMLport schema

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 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 an 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. For more information, see Request pages.

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. For more information, see XMLport data type and XMLport triggers.

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.

See also

XMLport object
Defining an XMLport schema
Using namespaces with XMLports
Request pages
XMLport data type
XMLport triggers