web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Dynamics AX use of the startupcmd parameter

Rudi Hansen Profile Picture Rudi Hansen 4,071
If you start ax32.exe with -startupcmd you can use this to automate some tasks.

Like for instance this command will perform a full compile of all elements in AX.
ax32.exe -startupcmd=CompileAll

Here is a full list of all the startupcmd parameters i have been able to find.

Command 
Usage 
setbuildno 
Updates the version information text in the About Microsoft Dynamics AX dialog 
updatebuildno 
Synchronize the Build Number Between the Application and Database 
synchronize 
Synchronizes the data dictionary 
compileall 
Compiles the application 
compileall+ 
Compiles the application and updates Crossreference 
compilepartial 

compilemodel 
Compiles a specific model 
compilelayerinheritance 

xrefall 
Updates Crossreferences 
compileil 
Compiles FULL CIL 
exit 
Shuts down the application 
aotimport 
Imports an XPO file into the AOT 
aldimport 
Imports an Lable file into the AOT 
applupgrade 
Starts Version upgrade processes 
loadlicense 
Loads a license file into AX and shuts down 
checkbestpractices 
Compiles the application and exports the Best Practice warnings to a file. If an XPO file is provided, only check the Best Practice warnings in the XPO. 
updatemetrics 

autorun 
Runs AX AutoRun tasks based on an XML file. 
runtestproject 
Creates, runs and closes a test project 
batch 
Starts the application to run Client batch tasks in a specific group 
viewalert 
Opens a specific alert 
drilldown 
Opens the record that triggered an alert 
viewalertrule 
Opens the rule that triggered an alert 
importresources 
Imports a resource into the AOT 
xmlreflection 
Creates an XML file based on reflection of the AOT 
xmldocumentation 
Creates an XML documentation file 
startupelementaction 
Starts the application to run element 
securityinference 

generatessasproject 

buildvisualstudioprojects 


This was originally posted here.

Comments

*This post is locked for comments