How to: Export/Import a Model Store
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
- On the Start menu > All Programs > Administrative Tools, and then click Microsoft Dynamics AX Management Shell.
- 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
- On the Start menu > All Programs > Administrative Tools, and then click Microsoft Dynamics AX Management Shell.
- 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.
*This post is locked for comments