Modifying the right-click context menu

In the development workspace, many developer tools can be accessed from the right-click context menu in the AOT. Some of the tools, such as Export, Delete, Restore, and others, are common for all AOT objects. Some of the options are only available for specific objects, for example, the Compile function is only available for classes, tables, and other objects that contain code.

In this recipe, we will demonstrate how to modify the right-click context menu. We will add two new options for development project nodes, allowing setting and clearing any selected project as a startup project.

How to do it...

Carry out the following steps in order to complete this recipe:

  1. In the AOT, create a new action menu item with ...

Get Microsoft Dynamics AX 2012 Development Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.