Searching for an object in a development project

In Dynamics AX, any development changes to the application normally have to be organized in development projects. The same object could belong to one or more projects, but Dynamics AX does not provide an easy way to determine this.

In this recipe, we will create a class for searching the development projects. The class is only for demonstration purposes but could easily be converted to a standalone tool or integrated into the right-click menu.

How to do it...

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

  1. In the AOT, create a new class with the following code:
    class DevProjectSearch { } private boolean findChildren( TreeNode _parent, UtilElementType _type, IdentifierName _name) { TreeNode ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.