Search code examples
axaptadynamics-ax-2012

Open Ax client from external application


Is it possible to open an AX client from an external application, for instance a c# console application.

I've tried to open the AX client by using the -StartupCmd=AutoRun_MyConfig.xml command.

The Xml-file uses the Run command to open a class I've created but I cannot get it to work for a regular user, only for system administrators. Is this a limitation in AX?

Run type=\"class\" name=\"{0}\" method=\"{1}\" parameters=\"{2}\" />

Do you have any other idea on how I can proceed or an alternative solution?

br, Johan


Solution

  • Just start the ax32.exe with the proper parameters.

    See also this question.

    Also see this answer on how to tickle the drill-down code to start an arbitrary menu item.