Udostępnij za pośrednictwem


How to: Import Application Objects by Using the AOT

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

  1. On the Command menu, click Import. The Import window opens.

  2. Click Browse to find the location and name for the import file.

  3. Set options as needed in the Import and Options field groups. For more information, see Import Form.

  4. 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.

  5. 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.