Create a new menu item for the form which form you want run opening dynamics AX.
Call that method as shown in below
new MenuFunction(menuitemDisplayStr(YourMenuItemName), MenuItemType::Display).run();
Place this code to Info.startupPost() (if you want it to start when the client starts)
or
Info.workspaceWindowCreated() (if you want it to start every time new workspace is opened).
new MenuFunction(menuitemDisplayStr(YourMenuItemName), MenuItemType::Display).run();
Place this code to Info.startupPost() (if you want it to start when the client starts)
or
Info.workspaceWindowCreated() (if you want it to start every time new workspace is opened).
or
Info.workspaceWindowCreated() (if you want it to start every time new workspace is opened).
No comments:
Post a Comment