How to: Create a Visio UML Object Model

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

A UML object model provides a visual representation of the metadata for classes, interfaces, views, tables and their relationships. You can use the Reverse Engineering tool to create a UML object model from a private or shared project or from a perspective. The UML object model is created in Microsoft Office Visio. Before you create a UML object model, be sure that the project or perspective is defined. For more information, see How to: Create a MorphX Development Project. The following procedure explains how to use the Reverse Engineering tool to create a UML object model.


  To see method names correctly in the model, you must be running in debug mode before starting the Reverse Engineering tool. To set the debug mode, click Tools > Options. Click the Development tab and select When Breakpoint for the Debug mode field.

To create a Visio UML object model

  1. Click Tools > Reverse Engineer. The Reverse Engineering dialog box displays.


    An alternative way to display the Reverse Engineering dialog box is to right-click the project or perspective, point to Add-Ins, and then click Reverse Engineer.

  2. In the dialog box, select Visio UML Object Model.

  3. Select the type of item that you want to generate a model for, Private project, Shared project, or Perspective, and then select the item from the drop-down menu.

  4. If you want to change the name or location of the file, click the folder icon, and then specify a name and location for the file.

  5. Click OK.

    After the object model is created, Visio opens and contains all the UML model elements along with a blank diagram. Use Model Explorer to drag model elements onto the diagram and format them. If the Model Explorer window is not already open, on the UML menu, point to View, and then click Model Explorer.

See also

Reverse Engineering Tool Overview

How to: Create a Visio UML Data Model

How to: Create an ERX ER Data Model

Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.