Import Export Model with ax 2012 R3
Models are logical group of elements like tables and classes. In AX 2012 elements can be group and store in the model file. Model files are easy to create, export and import and this can be uninstlled from system when not required.
Models are logical group of elements like tables and classes. In AX 2012 elements can be group and store in the model file. Model files are easy to create, export and import and this can be uninstlled from system when not required.
Export an .axmodel file (Windows PowerShell)
- On the Start menu, point to All Programs, point to Administrative Tools, and then click Microsoft Dynamics AX Management Shell.
- At the Windows PowerShell command prompt, PS C:\>, type the following command, and then press ENTER.
EXPORT Command Syntax: Export-AXModel –Model <name> -File <Filename.axmodel>
Example:
Export-AXModel -Model Ch_File -File C:\Test\Ch_File.axmodel
Import an .axmodel file (Windows PowerShell)
- On the Start menu, point to All Programs, point to Administrative Tools, and then click Microsoft Dynamics AX Management Shell.
- At the Windows PowerShell command prompt, PS C:\>, type the following command, and then press ENTER.
IMPORT Command Syntax:
Install-AXModel -File <Filename.axmodel> -Details