แก้ไข

แชร์ผ่าน


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. Learn more in 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. Learn more in 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. Learn more in 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. Learn more in 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.

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.

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