How to: Import Application Objects by Using the AOT
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
In Microsoft Dynamics AX 2012, you can import X++ application objects that are contained in .xpo files previously created with the Export menu command. For more information, see How to: Export Application Objects by Using the AOT. Only users who have developer rights can import code. This topic describes how to import one or more application objects, without business data, into the application.
For more information about how to import and export business data, see Use DAT and DEF files to export and import data and Export options (class form).
To import application objects
On the Command menu, click Import. The Import window opens.
Click Browse to find the location and name for the import file.
Set options as needed in the Import and Options field groups. For more information, see Import Form.
If you do not want to import all application objects in the .xpo file, click Show Details, and then clear the check box for application objects that should not be imported.
Note
Application objects can only be imported into the same layer opened by the client. For more information, see How to: Set the Layer.
Click OK to import the selected application objects.
Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.