Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : QWtqcr0ogheFx6/A5kWr6Z
Dynamics 365 Community / Blogs / DAX Beginners / How to: Export/Import a Mod...

How to: Export/Import a Model Store

Christian Silva Profile Picture Christian Silva 707

When I wrote about Deploying customizations across Microsoft Dynamics AX environments I said that Microsoft recommends you to use export and then install the Model Store when you deploy major changes to a production environment. You can export and import a model store as a unit, use this if you also need to create similar environments.

Today, we will see how we can export and then import(install) the model store.

Export a Model Store


  1. On the Start menu > All Programs > Administrative Tools, and then click Microsoft Dynamics AX Management Shell.
  2. At the Windows PowerShell command prompt, type the following command, and then press ENTER.
Export-AXModelStore -File <Filename> -Details

Example:

Ex.: Export-AXModelStore -File DAX_CU7_BPK -Details

This command exports the model store to an .axmodelstore file.
For more information, see Export-AXModelStore.

Import a Model Store


  1. On the Start menu > All Programs > Administrative Tools, and then click Microsoft Dynamics AX Management Shell.
  2. At the Windows PowerShell command prompt, type the following command, and then press ENTER.
Import-AXModelStore -File <Filename>

Example:

Ex.: Import-AXModelStore -File DAX_CU7_BP

This command imports a model store to the Microsoft Dynamics AX database and associates the model store with the default schema, dbo.
For more information, see Import-AXModelStore.


This was originally posted here.

Comments

*This post is locked for comments