DataverseCartographer 1.0.0

dotnet add package DataverseCartographer --version 1.0.0
                    
NuGet\Install-Package DataverseCartographer -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DataverseCartographer" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DataverseCartographer" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="DataverseCartographer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DataverseCartographer --version 1.0.0
                    
#r "nuget: DataverseCartographer, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DataverseCartographer@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DataverseCartographer&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=DataverseCartographer&version=1.0.0
                    
Install as a Cake Tool

Dataverse Cartographer (XrmToolBox plugin)

Draw an interactive map of a Dynamics 365 / Dataverse organization: the tables and their relationships (by solution, model-driven app or publisher), which plugins run on which table and what their code does, and which form scripts call which tables. Understand a data model in minutes, document a solution or an app, and prepare an impact analysis before a change. Nothing is written to the organization.

Usage

  1. Connect to an environment: the data model is loaded and drawn. Load metadata reads it again (on the Plugins and JavaScript tabs, it reloads the plugins or the scripts).
  2. Data model tab:
    • Filters: Solution, Model-driven app, Publisher prefix, Tables (custom and standard, custom only, standard only), Hide system tables, Hide tables without relationships, Only tables with data (≥ 1 active record) (asks for a confirmation, then checks every table on the server once per connection), Show N:N relationships, Show self-references.
    • Explore: pick a Focus table and a number of Levels (1 to 6), then Explore, or double-click a table on the map. Show linked tables outside the filters adds them faded. Back returns to the previous table, Whole map shows everything again.
    • Map: mouse wheel to zoom, drag the background to pan, drag a table to move it. Layout (hierarchical, force-directed, circular / radial, grid), Re-arrange, fit, zoom, Labels, and a search box (Enter goes to the next match). Right-click a table to explore around it, center it, hide it or copy its names.
    • Legend: click Custom, Standard, Focus, 1:N, N:N or Cascade delete to hide or show that category.
    • Details: click a table for its card (properties, then the Columns, Relationships, Keys, Forms, JavaScript and Plugins tabs), or a relationship for its lookup column and cascade behavior. Hover a table or a relationship for a quick card.
  3. Plugins tab: filter by Solution and Assembly (DLL) (only the assemblies of the selected solution are listed), Hide Microsoft / system plugins, Include disabled steps, Show reads (Retrieve), Analyze the code (tables touched). Double-click a table or a plugin to explore its chain. Double-clicking a step in the Plugins tab of a table card opens it here.
  4. JavaScript tab: filter by Solution and Library (web resource), Hide Microsoft libraries, Include inactive forms, Show reads and navigation, Analyze the scripts (tables called).
  5. Export: PNG image, SVG image, Mermaid diagram, PlantUML diagram (file or clipboard) and Excel inventory of the map of the current tab, as displayed.

The interface is available in English and French (language selector in the header). Filters and options are remembered between sessions, except Only tables with data, which is off when the tool opens.

What the maps show

  • Data model: tables as cards (custom and standard tables in different colors), relationships with crow's-foot ends (bar = one, prongs = many), N:N relationships dashed, cascade-delete relationships in red. N:N intersect tables are not drawn: the relationship links both tables directly.
  • Plugins: table → (registered steps, grouped by message and stage, sync in blue, async in amber) → plugin → (operations found in its code) → table. Steps on global messages and service endpoints are shown too. The details list the steps (stage, mode, rank, filtering attributes, images) and the code operations (operation, table, method where they were found).
  • JavaScript: table → (form events: OnLoad, OnSave, OnChange of a column, tab state change…) → library → (calls found in its code) → table. Libraries loaded without any handler are drawn dashed. The details list the handlers and the calls (operation, table, function, line).
  • Code analysis:
    • Plugins: the assembly stored in the organization (or inside the plugin package) is read without being loaded. SDK calls (Create, Update, Delete, Retrieve, XxxRequest, OrganizationServiceContext) are matched with the tables they target (new Entity("account"), early-bound classes, QueryExpression, FetchXML, EntityReference). Calls to helpers, services and base classes of the assembly are followed.
    • Scripts: Xrm.WebApi calls, Web API URLs (with their HTTP verb), FetchXML, form navigation and custom API calls are detected.

Things to know

  • A connection to the environment is required. The tool only reads: metadata, solutions, publishers, model-driven apps, forms, web resources, plugin assemblies, types, steps and images.
  • The code analysis is a heuristic. Table names built at runtime (configuration, parameters, variables) cannot be seen and are shown as table not detected. An entity built in one method of a plugin and saved in another is linked and flagged as inferred.
  • Assemblies stored on disk or in the GAC (on-premises) have no code in the organization: only their steps are drawn.
  • Only tables with data sends one small query per table (by batches); it can take a few minutes on a large organization. Tables that cannot be read stay visible. The record count shown on table cards is the platform snapshot, refreshed about once a day.
  • Opening the JavaScript tab reads the forms of every table, which can take a moment on a large organization.

Project layout

Folder Content
DataverseCartographer/Services Metadata, usage, solutions and apps reading (MetadataService), plugin and form reading (PluginService, ScriptService), graph builders and layouts.
DataverseCartographer/Services/Analysis ECMA-335 metadata reader and IL analysis of plugin assemblies, JavaScript analysis.
DataverseCartographer/Models Organization model (tables, relationships, solutions, apps), graph, plugins and scripts.
DataverseCartographer/Export PNG / SVG, Mermaid / PlantUML and Excel exports.
DataverseCartographer/UI Theme, icons, header, graph rendering, hover cards and custom controls (map canvas, cards, tabs, buttons, loading overlay).
DataverseCartographer/Forms Themed message and text viewer dialogs.
DataverseCartographer/Localization English and French texts.
CartographerPlugin.cs, CartographerControl*.cs XrmToolBox plugin and its screen (data model, plugins and JavaScript pages).

Build

Open DataverseCartographer.sln in Visual Studio and build, or:

msbuild DataverseCartographer.sln /restore /p:Configuration=Release

Install in XrmToolBox

Install Dataverse Cartographer from the XrmToolBox Tool Library, or copy DataverseCartographer\bin\Release\net48\DataverseCartographer.dll to %APPDATA%\MscrmTools\XrmToolBox\Plugins, restart XrmToolBox and open Dataverse Cartographer. A connection to the environment is required.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 348 10/18/2026

1.0.0 - First release

- Interactive map of the tables and their 1:N, N:1 and N:N relationships: zoom, pan, move tables, four layouts (hierarchical, force-directed, circular / radial, grid), edges bent around tables.
- Crow's-foot notation, N:N relationships dashed, cascade-delete relationships in red.
- Filters by solution, model-driven app, publisher prefix, custom / standard tables; hide system tables and tables without relationships; show or hide N:N and self-references.
- Option to keep only the tables with at least one active record, checked on the server once per connection after a confirmation.
- Exploration of the neighbors of a table (1 to 6 levels), with the linked tables outside the filters shown faded.
- Clickable legend to hide or show a category of tables or relationships.
- Hover cards on tables and relationships: lookup and referenced columns, cascade behavior, record count.
- Table card with columns, relationships, alternate keys, forms, JavaScript handlers of every form and registered plugin steps.
- Plugin map (table, step, plugin, table) with a static analysis of the plugin assemblies to find the tables each plugin creates, updates, deletes or reads; filters by solution and assembly.
- JavaScript map (table, form events, library, table) with the Xrm.WebApi, Web API, FetchXML and navigation calls of each script, their function and line; filters by solution and library.
- Search for a table or a column, and exploration from the search box.
- Exports: PNG and SVG (whole map with a title), Mermaid and PlantUML (file or clipboard), Excel inventory.
- Loading screen with progress, modern dialogs, English and French interface, settings remembered between sessions.