Add menu items to the context menu in Dynamics
You can add your own menu items to the Context menu in Dynamics by adding a reference of the menu item to the SysContextMenu menu.
As seen in the image, I have added a class menu item ShowFormMethods to the sysContextMenu. After I save, I right click on any node in AOT and goto Add-ins, I can see my menu item.
You can also add a menu item to Tools -> Development Tools by adding a reference of the menu item to DevelopmentTools menu.
I have added a small project which you can look into and see how it has been done. Download it
here.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU5a3IE70g8Yg0CUHmo9ngzbSyaTV62_CEOFTcF8AaKKNsJgMNtl339nzG8lkXlpD2IQ8_HNzjrvcq7yycAu2F-uBk9A8svNeAdmIuawaWLgzM6ZugnSwY2Ci2Hnhh1flBmuZu7o6scPw/s320/Adding+reference.jpg)
As seen in the image, I have added a class menu item ShowFormMethods to the sysContextMenu. After I save, I right click on any node in AOT and goto Add-ins, I can see my menu item.
You can also add a menu item to Tools -> Development Tools by adding a reference of the menu item to DevelopmentTools menu.
I have added a small project which you can look into and see how it has been done. Download it
here.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU5a3IE70g8Yg0CUHmo9ngzbSyaTV62_CEOFTcF8AaKKNsJgMNtl339nzG8lkXlpD2IQ8_HNzjrvcq7yycAu2F-uBk9A8svNeAdmIuawaWLgzM6ZugnSwY2Ci2Hnhh1flBmuZu7o6scPw/s320/Adding+reference.jpg)
Comments