Thursday, July 23, 2015

AX 2012 AX 2009 SysAutoRun Class AX2012 AX2009



 Using SysAutoRun class we can automate lot of things in AX. Which helps AX admin to configure the system with help of xml file. 

 SysAutoRun which helps to run our code while AX client started. 

  Example: To open the Customer Table after login into the system, 

 <?xml version=”1.0” ?>
<AxaptaAutoRun  exitWhenDone="false"  version="5.0"  
    logFile="D:\Axapta\AxaptaAutorun.log"> 
<Run type="displaymenuitem" name="CustTable"/>
</AxaptaAutoRun>

Save the xml in the local drive and mention the file path in AX client config 
Command to run at application : AutoRun_C:\Test_OpenCustTable.xml

Refer this link for more info : https://msdn.microsoft.com/en-us/library/sysautorun.aspx

Thanks,
K. Arunsubramaniam



    


No comments:

Post a Comment