- Opening Dynamics Ax From Command-Line
Ax32.exe (Using this AX client executable we can open an Ax Session directly from the command-line.)
- Extending the command-line by importing an Ax Object (Class)
Here, we will import a class (.xpo) directly without any user intervention.
- Create a xml import file definition e.g. AutoImportClass.xml
<?xml version="1.0" encoding="utf-8" ?>
<AxaptaAutoRun version="4.0" logFile="AxaptaAutoRun_ClassImport.log">
<XpoImport file="Cust.xpo" />
</AxaptaAutoRun>
- We will pass this xml file as parameter to the ax32.exe command.
ax32.exe -StartupCmd=AutoRun_F:\MyDocs\AutoImportClass.xml
Greetings! Welcome to my Dynamics AX 7 and related MS Technologies blog.
yoo... informative thoughts :))
ReplyDeleteThat u have it imported u need to manually compile it... anyway to compile the class at the same time. Not that the entire AOT shd nt get compiled
ReplyDelete