Tuesday, February 17, 2015

AX2012 TFS Tip - Setting default startup model

If you use version control then it can be helpful to set the default startup model for development workstations. At first glance, this can be easily accomplished through the AX Configuration options.

Startup Model Gotcha

If the development environment is refreshed from production, the configuration options are overwritten. Therefore the default startup model may be set incorrectly.

AX32.exe -model argument

To ensure your developers have the correct startup model after an environment refresh, simply add the following to the MorphX shortcut: 

"-model=(YourModel, YourVendor)"
Important: Include the quotation marks.



Setting the Startup Layer

The default layer can be set in the AX Configuration Utility, and will survive an environment refresh. Alternatively, supply the following argument (CUS layer shown as example): 
Ax32.exe -aol=CUS -aolcode=YOURKEY
The development code can be omitted from the parameter set if specified in the client configuration utility.




A more complete list of client configuration commands is available here:
https://technet.microsoft.com/en-us/library/aa569653.aspx


No comments:

Post a Comment