AttributeMetadataExporter 2.0.0.1
dotnet add package AttributeMetadataExporter --version 2.0.0.1
NuGet\Install-Package AttributeMetadataExporter -Version 2.0.0.1
<PackageReference Include="AttributeMetadataExporter" Version="2.0.0.1" />
<PackageVersion Include="AttributeMetadataExporter" Version="2.0.0.1" />
<PackageReference Include="AttributeMetadataExporter" />
paket add AttributeMetadataExporter --version 2.0.0.1
#r "nuget: AttributeMetadataExporter, 2.0.0.1"
#:package AttributeMetadataExporter@2.0.0.1
#addin nuget:?package=AttributeMetadataExporter&version=2.0.0.1
#tool nuget:?package=AttributeMetadataExporter&version=2.0.0.1
Attribute Metadata Exporter
XRM ToolBox plugin for exporting Dataverse/Dynamics 365 attribute metadata to CSV with advanced column management and enhanced data interaction.
Features
Data Management
- Data Sources: Export from all entities or specific solution-based attributes
- 40+ Metadata Columns: Organized into 7 categories (Core, Identity, Metadata, Behavior, Security, Audit, Advanced)
- Column Presets: Basic (8), Standard (16), Advanced (28), Full (40+), or Custom
- Smart Type Details: Automatically formats type-specific metadata (lookup targets, picklist options, string formats, etc.)
- CSV Export: Export filtered results with selected columns in custom order
Interactive Grid
- Flexible Selection: Cell-level and full-row selection modes
- Multi-Select: Ctrl+Click for multiple selections, Shift+Click for range selection
- Copy Support: Right-click context menu or Ctrl+C to copy selected cells/rows
- Cell Viewer: Double-click any cell to view full content with copy button for long values
- Dynamic Counter: Real-time display of selected attribute count
- Sortable Columns: Click headers to sort, with persistent sort state
- Drag-Drop Reordering: Customize column order directly in grid
Filtering & Search
- Real-Time Filters: Table name, attribute name, type, required level, custom/managed, primary ID
- Always-Visible Panel: Expanded filter controls for quick access
- Session-Based: Filters reset on new loads for clean slate each time
- Total Counter: Always displays total attribute count
Productivity
- Reload Solutions: Refresh solution list without reconnecting
- Smart Button Text: "Load Attributes" changes to "Reload Attributes" after first load
- Performance Optimized: Batch loading with ExecuteMultipleRequest for faster solution queries
- Persistent Settings: Column preferences and widths saved across sessions
Installation
From XRM ToolBox (Recommended)
- Open XRM ToolBox → Tool Library (Ctrl+T)
- Search for "Attribute Metadata Exporter"
- Click Install and restart
From NuGet Package
- Download
.nupkgfrom Releases - XRM ToolBox → Plugins Store → Install from disk
- Select
.nupkgfile and restart
Usage
Basic Workflow
- Connect to Dataverse environment
- Choose scope: All Entities or Selected Solution
- Click "Load Attributes" (becomes "Reload Attributes" after first load)
- Filter using table/attribute name, type, required, custom, or primary ID filters
- Configure columns (optional): Click "Columns..." to select preset or customize
- Export: Click "Export to CSV"
Working with Data
Selection & Copying
- Select cells: Click individual cells or drag across multiple cells
- Select rows: Click row header to select full row
- Multi-select: Hold Ctrl and click for multiple selections
- Range select: Hold Shift and click row headers for range selection
- Copy data:
- Right-click → "Copy Cell(s)" or "Copy Full Row(s)"
- Press Ctrl+C to copy selected cells
- Paste into Excel, Word, or any text editor
- View long text: Double-click any cell to open viewer with "Copy Text" button
Managing Solutions
- Reload Solutions: Click "Reload Solutions" button to refresh list without reconnecting
- Filter by solution: Only solutions containing attributes appear in dropdown
- Performance: Solution loading uses batch requests for optimal speed
Filtering Data
- Apply filters: Type in text boxes or select from dropdowns - results update in real-time
- Clear filters: Click "Clear Filters" button
- Session-based: Filters reset when loading new data or changing scope
- Counters:
- "Total Attributes: X" shows loaded count
- "Selected Attributes: Y" updates as you select rows/cells
Column Presets
| Preset | Columns | Description |
|---|---|---|
| Basic | 8 | Table/attribute names, type, required, type details, description |
| Standard | 16 | Basic + schema name, custom flag, primary ID, validity flags, version |
| Advanced | 28 | Standard + security, audit, managed status, logical attributes |
| Full | 40+ | All available metadata properties |
| Custom | Variable | Select specific columns |
Available Columns by Category
- Core (8): Table/attribute names, type, required, max length, type details, description
- Identity (5): Schema name, metadata ID, primary ID/name flags, attribute of
- Metadata (4): Managed, custom, introduced version, type name
- Behavior (4): Valid for create/read/update, is logical
- Security (4): Secured flags and can-be-secured permissions
- Audit (1): Audit enabled
- Advanced (1): Required level detail
Configuration Storage
Settings saved to %APPDATA%\AttributeExporter\config.json:
- Column visibility, order, widths
- Sort state (column and direction)
- Selected preset
Note: Filters are session-based and do NOT persist - each load starts fresh.
Building from Source
git clone https://github.com/HurleySk/AttributeExporterXrmToolBoxPlugin.git
cd AttributeExporterXrmToolBoxPlugin
dotnet build --configuration Release
.\deploy.ps1 -Force
Deploy script options: -SkipBuild, -Force, -WhatIf
Troubleshooting
Plugin not appearing: Delete %APPDATA%\MscrmTools\XrmToolBox\Plugins\.manifestcache.dat and restart XRM ToolBox
"Object reference" errors: Missing dependencies - re-run deploy.ps1 to copy all DLLs
Slow "All Entities" load: Large environments take 30-60s - use "Selected Solution" for faster loading
Export fails: Ensure attributes loaded, at least one column visible, and CSV file not open in Excel
Solution shows 0 attributes: Only solutions containing attribute components (componenttype=2) appear - verify solution has attribute customizations
Copy/Paste not working: Ensure cells are selected (highlighted) before pressing Ctrl+C or using context menu
Technical Details
Dependencies:
- XrmToolBoxPackage 1.2025.7.71
- Microsoft.CrmSdk.CoreAssemblies 9.0.2.59
- CsvHelper 12.3.2 (downgraded for .NET Framework 4.8)
Requirements: XRM ToolBox 2024.7.x+, .NET Framework 4.8
Contributing
- Fork repository
- Create feature branch
- Test in XRM ToolBox
- Submit pull request
Follow existing code patterns, add XML docs, update README for user-facing changes.
License
MIT License
Author
Samuel Hurley - HurleySk
Built on XRM ToolBox by Tanguy Touzard
Release Notes
Version 2.0.0 (Latest)
Major Release - Enhanced Data Interaction
- Cell-level selection with multi-select (Ctrl+Click, Shift+Click)
- Copy support via context menu and Ctrl+C
- Double-click cell viewer with copy button for long values
- Reload Solutions button for quick refresh
- Dynamic button text ("Load" → "Reload Attributes")
- Performance: Batch loading for solution attributes (30x faster)
- Real-time selected attribute counter
- Session-based filters (no persistence)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- CsvHelper (>= 12.3.2)
- Microsoft.CrmSdk.CoreAssemblies (>= 9.0.2.59)
- Microsoft.CrmSdk.Deployment (>= 9.0.2.34)
- Microsoft.CrmSdk.XrmTooling.CoreAssembly (>= 9.1.1.65)
- MscrmTools.Xrm.Connection (>= 1.2025.7.63)
- System.Resources.Extensions (>= 4.7.1)
- XrmToolBoxPackage (>= 1.2025.7.71)
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 |
|---|
Initial release: Export Dataverse attribute metadata to CSV with 40+ metadata columns, customizable column presets, drag-drop reordering, search/filter, and persistent user preferences.