Friday, January 15, 2016

MSD CRM 2016 - Entity relationship diagram: Where did it go?

In the SDK you will find a Metadata Diagram Generator. SDK\SampleCode\CS\Metadata\Diagram\MetadataDiagram.sln

  1. Download the SDK for 2016 here.
  2. From Visual Studio 2015 open the solution file MetadataDiagram.sln.
  3. Go to the configuration of the project for MetadataDiagram 
  4. Right click on the MetadataDiagramConsole in the Solution Explorer and select Properties.  Click on the Debug section of the properties dialog.  Enter: “account contact” into the Command Line Arguments textbox to have the application draw only the account and contact entities.
  5. Run the project in debug state (F5) or build it and execute it from the debug\bin folder of the solution folder.
  6. Enter the server url and creds
  7. Find the generated VSDX file in solution folder
Happy Research!