D365 Finance & Operations and Dynamics AX Forum

Expand all | Collapse all

Project export (Dev) and Import (PROD) in AOT

  • 1.  Project export (Dev) and Import (PROD) in AOT

    Posted Apr 11, 2019 03:13 PM
    Please can any one advise steps and check marks to export and import project (code or script) from Test environment to Prod environment

    Any check mark required


    what are the next steps like:
    -Generate full CIL or
    -Increemental CIL
    -Does Sync required

    Please advice
    Thanks and kind regards

    Nazim Lalji
    Dynamics AX Analyst


  • 2.  RE: Project export (Dev) and Import (PROD) in AOT

    Posted Apr 12, 2019 04:02 AM
    Hi Nazim

    First of all, please take into account that importing code from a project in Production is not recommended. A best practice is to deploy the updated models.

    Having said that, if you're exporting/importing projects, the recommendations with regards to checkboxes would be:


    - Application Object Layer = Yes

     Select the layer from where you want to export your modifications. If you're a customer, this would typically be CUS or USR.

    - Export Labels : Select only when you've created new labels as part of your development. Please be aware that importing/exporting labels is a bit tricky and not always works nicely.

    Again, ideally labels files should be deployed to prod instead of labels being installed via projects.


    - Delete sub-elements = NO

    - If you've exported with labels --> Select "Application objects and labels", otherwise "Only application objects".

    - Show details will show you which objects are going to be imported, but it won't have any effect on the import process itself.

    With regards to the next steps:

    - Full compile
    - DB sync if your project includes data model elements
    - It should be enough with incremental CIL compile, although I would recommend full CIL.
    - If you're transferring labels, a label cache clean may be needed (or alternatively a restart of AOSs)

    Hope this helps.

    Cruz Margaix
    Senior Architect
    Valencia (Spain)

  • 3.  RE: Project export (Dev) and Import (PROD) in AOT

    Posted Apr 15, 2019 05:01 PM
    Thanks Cruz for you help

    Successfully exported project

    Thanks and kind regards

    Nazim Lalji
    Dynamics AX Analyst


If you've found this thread useful, dive deeper into User Group community content by role