O'Reilly logo

Mastering Microsoft Dynamics AX 2012 R3 Programming by Mat Fergusson, Simon Buxton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making your code extendable with metadata

To bring together the earlier metadata techniques, we will create a simple framework that allows an end-user organization to extend our solution without making a modification to any object in our solution.

This could be to allow integration with data capture devices, or to simply allow them to add fields to the form without making a modification to it.

The way to do this is to create a configuration table in AX that allows our end user to add class names to it. This configuration table is then called at specific points in our code. In order to utilize DictClass, we either need to store the method name in the table, or simply insist that the classes conform to our pattern. The best method in many cases is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required