Tuesday, March 8, 2016

Models and Model store in Ax 2012 R2

Models : 

Used to hold all the AOT objects as one model.
Each AX layer will have default model
eg. Sys layer will have Sys Model.

Layer can have multiple models
eg: Var layer can have default Var Model and Our own ABC Model for our ABC client.

Export model
Syntax : Export-AXModel –Model <name> -File <Filename.axmodel> -Details
eg: Export-AXModel –Model "Var Model" -File "C:\VarModel.axmodel" -Details


http://technet.microsoft.com/en-us/library/hh352314.aspx

Install model

eg: Install-AXModel -File "C:\VarModel.axmodel" -Details

http://technet.microsoft.com/en-us/library/jj720288.aspx

Uninstall model

Syntax: Uninstall-AXModel -Model <Modelname>

eg: Uninstall-AXModel -Model "Var Model"

http://technet.microsoft.com/en-us/library/hh433514.aspx
Model Store :
Used hold Collection of Models from all layers as a database.
In Microsoft Dynamics AX 2012 R2, the model store was moved into a database that is separate from the business database.

Export Model Store

Syntax: Export-AXModelStore -File <Filename> -Details

eg: Export-AXModelStore -File "C:\Ax2012r2.axmodelstore" -Details

Import Model Store

Syntax: Import-AXModelStore -File <Filename>

eg: Import-AXModelStore -File "C:\Ax2012r2.axmodelstore"

http://technet.microsoft.com/en-us/library/hh433530.aspx



No comments:

Post a Comment