Friday, September 30, 2011

AX 2012 Model Management

AX 2012 introduces a "model" concept to help manage different solutions in the same layer. It also provides a commond-line tool to manage models, AxUtil.exe. (Some of its functions can be achieve through Model Management Wizards under Tools in the development environment.)
  • Default path to the command: <drive>:\Program Files\Microsoft Dynamics AX\60\Server\<InstanceName>\Bin
  • To list all models: AxUtil.exe list
  • To create a model: AxUtil.exe create /model:CONTOSO /layer:usr
  • To edit a model version number: AxUtil.exe edit /model:CONTOSO /manifest:Version="2.0.0.0"
  • To export a model: AxUtil.exe export /file:c:\ContosoModel.axmodel/model:CONTOSO
  • To delete a model: AxUtil.exe delete /model:CONTOSO
See Models, Layers, and the Model Store on TechNet for more discussion on how to deploy customizations through different AX environments.


No comments:

Post a Comment