Create and Configure a Model Extension for Dynamics 365 Finance | MB-500 Exam Guide

Create and Configure a Model Extension

Question

You are developing a model extension for Dynamics 365 Finance that extends objects from the Application Foundation package.

You need to create and configure a new model for the extension.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

AD.

A: You must create a class.

D: Extension lets you extend existing artifacts in a new model.

A model that contains only extension customizations can be compiled into its own assembly and be deployed in its own package.

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/class-extensions https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/model-split

To create and configure a new model extension for Dynamics 365 Finance that extends objects from the Application Foundation package, you need to perform the following two actions:

C. Reference the Application Foundation package when creating the extension model. D. Create a new model that builds into its own separate assembly.

Explanation: C. To extend the objects from the Application Foundation package, you need to reference the package when creating the extension model. The Application Foundation package contains the core functionality of Dynamics 365 Finance, and it provides the base for all the other packages. To reference the Application Foundation package, you need to open Visual Studio and create a new Dynamics 365 Finance model. In the New Project dialog box, select the Dynamics 365 Finance and Operations > Dynamics 365 Finance model project template. Then, in the Model Properties dialog box, select the References tab and add a reference to the Application Foundation package.

D. When you create a new model for the extension, you need to ensure that it builds into its own separate assembly. This ensures that the extension model does not interfere with the base application or any other extension models. To create a new model, you need to open Visual Studio and create a new Dynamics 365 Finance model. In the New Project dialog box, select the Dynamics 365 Finance and Operations > Dynamics 365 Finance model project template. Then, in the Model Properties dialog box, enter a unique name for the model, select the Build tab, and select the Build to a separate file option.

A. Creating an extension class that references the Application Foundation is not necessary for creating and configuring a new model for the extension. However, you may need to create an extension class in the model to extend the objects from the Application Foundation.

B. Assigning the model to the USR layer is not necessary for creating and configuring a new model for the extension. However, you can assign the model to the USR layer to ensure that it is not overwritten by any updates to the base application or other packages.

E. Creating a new model that is part of an existing package is not recommended for creating and configuring a new model for the extension. This is because it can lead to conflicts with other extensions or updates to the base application. It is best to create a new model that builds into its own separate assembly.