Model View Overview (Visual Studio Reporting Tools for Microsoft Dynamics AX)
Model View is a tool in Microsoft Visual Studio that displays model elements for the reporting projects within a solution, as well as the model elements from referenced projects and model assemblies. The model elements display in the same window and are separated by project. Because Model View does not display empty model nodes, the view is scaled down and very manageable. The following illustration shows two projects, InventoryManagement and SharedLibrary, in Model View.
.gif)
The following table lists some of the features of Model View and describes how these features are used.
|
Feature |
Description |
|---|---|
|
Multi-select operations |
You can select multiple model elements, adjacent or nonadjacent, by using the SHIFT or CTRL keys. |
|
View in Model Editor |
You can right-click a model element in Model View and select View in Model Editor. This will open the model in Model Editor with focus on the specified model element. |
|
Mouse drag-and-drop operations from Model View to Model Editor |
You can use the mouse to drag model elements from the Model View window to a model that displays in Model Editor. This allows you to copy model elements to a model or generate new model elements based on the selected model element. When you select multiple model elements, only those operations applicable to all selected elements will be available. For example, in Model View if you select two different types of elements, such as a parameter and a dataset, and try to drag them to a model that displays in Model Editor, you will not be able to copy them to the model since the selected model elements cannot be copied to the same node within the model. However, you can select multiple datasets and drag them from Model View into a model in Model Editor. |
|
Find as you type |
To navigate in Model View, you can use the "find as you type" feature by typing a letter on the keyboard. For example, when focused on the root node, typing the letter d will move the focus to the next node in the model that starts with a d. |
|
Context menus |
When you right-click an element, a context menu displays with available options for the element. If you use multi-select, only options applicable to all of the selected elements are available in the context menu. |
|
Icons |
For easy identification, each type of model element has an icon. For a list of icons and their descriptions, see Model Overview (Visual Studio Reporting Tools for Microsoft Dynamics AX). |
Model Editor and Model View have many similarities as far as how model elements are displayed. However, there are a few important differences to note.
-
Model Editor is used to view, create, edit, and delete model elements. In Model View, you can only view model elements. You cannot create, edit, or delete model elements in Model View.
-
Model Editor displays the model elements from a single model. Model View displays model elements for the models within all reporting projects in the current solution and from all referenced reporting projects and model assemblies.