Professional Documents
Culture Documents
EXTENSIBILITY IN
DYNAMICS 365
WHAT IS EXTENSIBILITY?
In Dynamics 365, extensibility
lets you customize the
software to fit your business
needs. You can add new fields,
change how things look, or
even create new functions to
make it work just the way you
want.
LETS
CODE!
TABLE EXTENSION
Navigate to the AOT (Application Object Tree)
Select any table from the AOT. Lets say: CustTable
Right click on it & select Create Extension.
This creates an extension in your current opened solution.
Creating extensions for
All other elements is done
by the same approach
except classes
CREATING A CLASS EXTENSION
Create a new empty class & name is as follows:
Prefix + ClassName + _Extension
The method wrapper is nothing fancy. A simple method with the same
signature as the default class method.
Signature = Access modifier + return type + Name + Parameters
CHAIN OF COMMAND (CoC)
The next keyword is used to invoke a chain of command call. In
order for the wrapper to be effective, a call to next is
mandatory.