Creating a new model in D365 F&O
Creating a new model:
A model, which is a collection of elements that represent a distributable software solution, can be created using a wizard.
- Start
Visual Studio using Run as administrator.
- From the Dynamics 365 window, select Model Management > Create model to open the Create model wizard.
3. It’ll
open a wizard for creating a model. In this window, we can specify the model
name and other parameters.
4. Enter
the following values for model parameters.
Property
|
Value
|
Model Name
|
MyModel
|
Model Publisher
| xxxxxxxxx |
Layer
|
CUS
|
Version
|
1.0.0.0
|
Model Description
|
This is model belongs to
XXXX customizations
|
Model display name
|
xxxxxxx |
5. Click Next to advance to the next page, and then select Package from the two options.
6. If
“Select existing package” is chosen, that means we’ll be using our
over-layering or customization development approach. In this, we must select a
model that contains the elements we wish to customize as a referenced model in
the wizard. In this way, our new model has access to those elements.
7. If
“Create new package” is chosen, this implies we’re going to use the extension
model approach. Developing this way allows us to access the elements from any
models we selected as referenced models. We can create new elements and add
functionality to the existing code.
8. In the “MyModel” model, we’re going to
create a new package (we’re using the extension development approach). Select
the “Create new package” option and click “Next.”
Now
we’re going to select our referenced models. This means we’re choosing the
other models for our “MyModel” model can see, or which elements it’ll have
access to.
Here,
we’ll select “ApplicationPlatform”, “ApplicationSuite” and “ApplicationFoundation” then choose “Next.”
9. Click Next to
advance to the Summary step.
10. Verify
the information on the summary page, and then select the Create new
project and Make this my default model for new projects check
boxes.
Creating New Project
12. This will open a screen to create a project. Here, gives the project name—in this case, “Test”—and click “OK.”
13. This
finalizes the model and project creation. It’ll open the project in the
solution explorer, displaying the project and model names.
Comments
Post a Comment