Direction Property

Version: Available or changed with runtime version 1.0.

Sets the XmlPort to import, export, or import and export data in XML format.

Applies to

  • Xml Port

Property value

ValueAvailable or changed withDescription
Importruntime version 1.0The XMLPort only imports data.
Exportruntime version 1.0The XMLPort only exports data.
Bothruntime version 1.0The XMLPort can import and export data.

If the XMLPort uses a request page, as specified by the UseRequestPage Property, then an option appears on the request page that enables the users to choose to import or export data. This is the default value.

Note


Request pages show when the XMLport is run from an action page or the Run method in AL code. Request pages do not show with Export or Import methods

If the XMLPort does not use a request, then XMLPort defaults to Import, unless you specify the direction by Import parameter of the Run method.|

Syntax

Direction = Import;

Properties