SysAutoRun.execXpoImport Method [AX 2012]

Enables X++ objects to be imported from .xpo files.

Syntax

protected boolean execXpoImport(XmlNode command)

Run On

Client

Parameters

  • command
    Type: XmlNode Class
    The XML node to get the value from.

Return Value

Type: boolean
true if execution is successful; otherwise, false.

Remarks

The execXpoImport method is called when the <XpoImport> tag is used in the configuration file when Microsoft Dynamics AX is started. For more information, see the SysAutoRun class.

Execution of this method is controlled by the SysAutoRun.execCommand method.

The <XpoImport> tag has the file attribute, which is the name and path of the .xpo file.

Examples

The following example shows a possible use of the <XpoImport> tag in the configuration file.

<XpoImport file="d:\xpo\class_TestCase_SalesOrderCreate.xpo" />

See Also

Reference

SysAutoRun Class