AX7
is based on few new terminologies, which are as under:
· Element: Element is the object in the AOT(Application Object Tree) such as tables, classes, forms etc.
· Model: Model is defined as collection of elements that represent a distributable software solution. This included all the elements and the Metadata. Model belongs to only 1 package. You can modify elements belonging to same package where the model belongs. Model is a unit of development/customization.
· Packages: Package is a deployable container. It contains source files (XML files), resources and DLLs. It is similar to Model store of AX 2012. You can select one or more packages and create a deployable package, which can be used to move the code from one environment to other. Packages are stored under c:\packages folder. For every model new sub folder will be created under package folder. Package is unit of deployment.
· Project: Project is a small, manageable group of elements. If you want to customize the element, it needs to be added to the project. Project always belongs to only 1 model. We can use project files to import/export between different instances of AX. It is saved as .AXPP file.
Solution: Solution is a virtual grouping of projects in Visual Studio. In Visual Studio you can add project from same or different models from one or more packages.
Overlaying
Overlaying
means if you customize any element in upper layer, it will override its definition,
in lower layer. This is what we were doing till AX2012 to customize AX. It
basically allows customization of metadata and source code in a higher layer.
Extension
It
refers to the concept of extending existing elements, without overriding those
present in other layers. That means, elements will not be customized, instead
elements will be extended. By creating extension elements, all of the
customizations and code are stored in a separate assembly. It only contains the
code that was added or changed in the extension file.
Before
working in Visual Studio we need to do few settings which will make the
development experience with AX a little smoother.
Step
1:- Go to AX 7 Options
Step
2:- Set Projects Options
Step
3:- Set Text Editor Options
Step
4:- Set Best Practice Options