Learn how you can create data packages to export and import from one AX environment to other AX environments.  AX States (and Canadian provinces) will be the test data used for the data packages.

Note: Ensure dependent data has been first imported or created.  For instance; countries must first exist prior to state being imported.

    1. In the company you wish to export the data package from, navigate to Data management from the workspace:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_ide
    2. Within the data management workspace select the export tile:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_xml_02
    3. Give the export job details the following:
      • Name – StatesExport
      • Target data format – EXCEL
      • Entity name – States
      • Select fields – Importable fieldsCreating Data Packages in Dynamics 365 Finance and Operation (AX)_ide_03
    4. Click the Add entity button
      The states mapping will be added on the right.  The framework buttons; select as create recurring data job, apply template, job history and download also become available for use after the mapping.
    5. Select the export button in the top left action pane:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_数据_04

      The following info log will generate:

      Creating Data Packages in Dynamics 365 Finance and Operation (AX)_xml_05

    6. Click close:
      The info log message will display in the top right:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_xml_06
    7. Select download package in the action pane at top left:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_ide_07
    8. Select yes to the info log message:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_sed_08AX will export the data package, then select open:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_xml_09

      There will be 3 files in the zipped data package:

      • two .xml files
      • one .xlxs file hat contains the exported detailsCreating Data Packages in Dynamics 365 Finance and Operation (AX)_xml_10
      Life Cycle Services – Prepare the data package for upload to another AX environment.
    9. Log into life cycle services:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_xml_11
    10. Under the menu bar, select Configuration data manager:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_数据_12
    11. Select the Add button in the Configuration and data manager area:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_数据_13
    12. In the Upload data package file slide bar, give the package name a unique meaningful name, we will use: 01a_States_02
    13. Select add a file button:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_sed_14
    14. Browse to and select the compressed zipped data package file previously downloaded:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_xml_15
    15. Click upload button:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_数据_16
    16. Click confirm button to confirm the data upload to life cycle services:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_xml_17
      Apply (Upload) data package to a different AX environment:
    17. Within Life cycle services select the confirmed added data package and click the apply button:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_xml_18
    18. Select the environment to apply the data package to, in this sample AX Demo:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_xml_19
    19. Select the company within the environment in which to apply the data package to:Creating Data Packages in Dynamics 365 Finance and Operation (AX)_数据_20

      After the data package has been applied to the new environment, log into that environment, select company and navigate to the data management workspace.  Under the import area (this time), review the imported data or review any errors in the staging data area or review the import under job history.

      Creating Data Packages in Dynamics 365 Finance and Operation (AX)_sed_21

      To summarize, these steps explain how to export data from one environment.  Load into life cycle services the selected desired destination environment and finally upload to the destination.