This is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.
IMPORTANT NOTICE: Menus for Visual Studio Tools is now Visual Studio Integration Toolkit from Winthrop Development Consultants (http://winthropdc.com/VSIT)
Great News for Visual Studio developers working with Microsoft Dynamics GP 10.0.
As I worked more with the Developer Toolkit and in particular Visual Studio Tools for Microsoft Dynamics GP, I found that the main support issue being seen was that it is not possible to add menu entries into the Microsoft Dynamics GP application navigation system without creating a Dexterity dictionary. This is mentioned in the following Knowledge Base (KB) article:
- You cannot insert a menu item that is always visible by using Visual Studio Tools for Microsoft Dynamics GP (KB 922871)
While creating a Dexterity dictionary to add the appropriate menus is not that hard for a Dexterity developer, it would mean learning a new set of skills for a Visual Studio developer that doesn’t have previous dexterity experience. It seems rather inefficient to force Visual Studio developers to work in Dexterity, when they had achieved everything else with Visual Studio, just to add some entries in the menus.
If the customization is sufficiently complex that it requires Dexterity code (maybe for procedure/function triggers, table triggers, or for alternate windows) as well as Visual Studio code, then there is no problem adding the navigation code into the existing dictionary. However, this is not the case for many smaller Visual Studio customizations.
The long term plan is to provide built-in support for adding to the navigation menus from Visual Studio into the next version of Microsoft Dynamics GP.
In the meantime, I have created a generic Dexterity dictionary which has an API (Application Programming Interface) which easily allows Visual Studio Tools developers to create their own menus, sub menus and separators directly from C# or VB code.
After discussions with the development and support teams, it was agreed that this code could be made available to developers to use with their Visual Studio based add-ins for Microsoft Dynamics GP release 10.0. Due to several fixes and enhancements in Visual Studio Tools for GP 10.0, this menu solution will not be available for GP 9.0. The plan for GP 11.0 onwards is that this functionality will be built into Visual Studio Tools.
[Edit] The menu functionality did not make it into GP 2010 (v11.0) and so an updated version of Menus for Visual Studio Tools will be released for v10.0 and v11.0 soon. Details will be posted on the blog.
We are still working on getting everything ready for release, but it will be made available soon.
For more information, please see the Visual Studio Integration Toolkit portal, which replaced the Menus for Visual Studio Tools.
Please add your feedback as comments, will this tool be useful to you?
This article was originally posted on the Developing for Dynamics GP Blog and has been reposted on http://www.winthropdc.com/blog.