Run a form automatically when opening dynamics AX
create menu item for the form and call:
new MenuFunction(menuitemDisplayStr(YourMenuItemName), MenuItemType::Display).run();
Place this code to Classes -> Info ->Methods -> startupPost() (if you want it to start when the client starts) or
Classes -> Info ->Methods -> workspaceWindowCreated() (if you want it to start every time new workspace is opened).
Classes -> Info ->Methods -> workspaceWindowCreated() (if you want it to start every time new workspace is opened).
No comments:
Post a Comment