AX 2012 Model - Install Install a model into an AX 2012 model store

AX 2012 Model - Install
AX 2012 Model - Install
Topic Work with Models (AX 2012)
Description Install a model into an AX 2012 model store
Category Package
Special features
  • Define Conflict mode (optional)
  • Replace model (optional)
  • Do not optimize (optional)         
  • Create parents (optional)        
  • Output model details (optional)
Microsoft documentation https://technet.microsoft.com/en-us/library/jj720288.aspx
Parameter: Server config file path (.axc)
Description The file path of the server configuration file.
Type File path
Required True
Default value
Example value $/Microsoft Dynamics AX (Test)/Server.axc
Parameter: Model file path (.axmodel)
Description The file path of the ax model file.
Type File path
Required True
Default value
Example value $/Microsoft Dynamics AX (Test)/MyModel.axmodel
Parameter: Conflict mode
Description Specifies what to do in the event that a conflict of element IDs between the model being imported and another model in the same layer is found. Possible values are "Reject", "Push", or "Overwrite". Reject stops the import process. Push duplicates the model element into the related update layer. For example, for the ISV layer, the update layer is ISP. Overwrite replaces the existing model element with the imported model element.
Type Picklist
Required True
Default value Reject
Parameter: Targer layer name
Description Specifies which layer a conflict model should be created in. It must be a layer above the layer that the model itself is imported into. The default value is the patch layer of the layer that the model itself is imported into, or, if importing into a patch layer, to the USR layer.
Type String
Required False
Default value
Dependency Only visible if Conflict mode is "Push".
Example value VAR
Parameter: Replace model name
Description Specifies a model to be replaced by the model that is being installed.
Type String
Required False
Default value
Example value MyModel
Parameter: Do not optimize
Description Specifies that the system skip steps to optimize the database, such as re-indexing. After installation is finished, you would then call the Build step "AX 2012 Model Store - Optimize".
Type Boolean
Required False
Default value False
Parameter: Create parents
Description Specifies that if you install a child element that does not have a parent in the model store , a new parent element should be created. By default, this option is off, so that if child elements that do not have parents are encountered, the import process is stopped. In general, we recommend that you avoid the use of this parameter, if possible. If you are importing multiple models that have dependencies, we strongly recommend that you import them in the correct order, so that the use of the Create Parents parameter is not required. If you must use Create Parents, then we recommend that you use it in combination with the Conflict mode set to Push, and then resolve issues with the parent elements in AOT. Note that if you use the Create Parents parameter, a new model of Category virtual will be created.
Type Boolean
Required False
Default value False
Parameter: Show model details
Description Should the model details be shown?
Type Boolean
Required False
Default value False

Go back