Hello Everyone!
When I was upgrading my Dynamics from AX2012 to AX7 I had a customization which displays AOT elements on a Tree object and they weren’t working anymore.

Investigating this issue I found out that Microsoft uses the class MacroBuild to create nodes from Macros which uses method findNode() from TreeNode class using macros from #AOT macro as parameter. Some macros are outdated and returns null.
My solution was to customize AOT macro and replace the code #define.MacrosPath(‘\\Macros’) to #define.MacrosPath(‘\\Code\\Macros’).

Like
Report
*This post is locked for comments