This post is continuity of
Customization In New Dynamics Ax (AX 7) Part 1 – Creating New Model
In Dynamics New module is a Menu,
In this post we are Creating A new module In Dynamics where we add complete implementation.
So first step to create a menu Item
Double click on menu and open it in design area,
and then right click on it and update its name and label as follow
Now add new Menu item,
and Set its form properties to HCMWorker.
Now drag open again menu in Design screen and drag display menu from solution explore and save it.
Now expand the Main menu in AOT and right click on it and click on generate Extension in current project
You can see new extension in with MainMenu.Extension in solution explorer.
Double click on It and open it in designer and then right click on it to create a new menu reference
Rename reference menu and set its menu properties to Menu which we create in previous step.
Because we are doing this is post is as introduction, so we set display menu target to HCMWork set it as starting object in Visual studio project.
Now compile, and Run Project With Ctrl+F5.
You can find our custom menu is appeared in Main menu.