XrmToolBox导出实体数据字典

530 字
3 分钟
XrmToolBox导出实体数据字典

在使用 Microsoft Dynamics 365 或 Power Apps 时,业务用户常常会需要查看实体中选项集(选择字段)的详细信息。 若实体仅包含少量选项集字段,用户可直接通过 Level up for Dynamics 365 / Power Apps 浏览器扩展,利用它显示选项集值功能,并将结果复制粘贴至 Excel 中就能搞定

但当实体包含大量选项集字段时,这种手动操作方式效率较低,更实用的解决方案是借助 XrmToolBox 工具,将实体元数据直接导出为如 Excel 这样的结构化格式

本文件将推荐两款适用于此场景的工具:

  1. Metadata Document Generator
  2. Attributes Factory

工具一:Metadata Document Generator#

在 XrmToolBox 上安装 Metadata Document Generator 并打开它

Open Metadata Document Generator
Open Metadata Document Generator

操作步骤如下:

  1. 点击 Load Entity
  2. 选择导出文件的保存位置
  3. 选择需要导出的实体
  4. 根据需求配置导出选项(详见下方表格)
  5. 点击 Generate Document

Metadata Document Generator - Generate Customer Entity Data Dictionary
Metadata Document Generator - Generate Customer Entity Data Dictionary

Available Options#

选项选择(中文)
Include Audit information包括审计信息
Include Field Level Security information包括字段级安全信息
Include Requirement leve information包括要求级别信息
Include Valid for Advanced Find information包括高级查找有效信息
Include Attribute location in Forms包括表单中的属性位置
Exclude Virtual attributes(name,base,date,state)排除虚拟属性(名称、基础、日期、状态)
Export all attributes in one sheet(Excel only)在一张表中导出所有属性(仅限 Excel)
Gather entitys list in a summary(Excel only)在摘要中收集实体列表(仅限 Excel)

生成的 Excel 数据字典将呈现如下格式:

Generated Customer Entity Data Dictionary (Excel)
Generated Customer Entity Data Dictionary (Excel)


工具二:Attributes Factory#

另一个可选方案是 Attributes Factory 插件。在 XrmToolBox 中安装并打开 Attributes Factory:

Install Attributes Factory
Install Attributes Factory

导出步骤:

  1. 选择 导出表
  2. 选择目标解决方案
  3. 勾选要导出的实体
  4. 根据需要选择导出选项
  5. 点击 确定

Attributes Factory Operation - 01
Attributes Factory Operation - 01

指定文件保存路径与文件名,然后点击 保存

Attributes Factory Operation - 02
Attributes Factory Operation - 02

生成的 Excel 文件将以如下格式包含实体数据字典:

Generated Customer Entity Data Dictionary (Excel)
Generated Customer Entity Data Dictionary (Excel)

支持与分享

如果这篇文章对你有帮助,欢迎分享给更多人或打赏支持!

打赏
XrmToolBox导出实体数据字典
https://mgrowup.com/posts/dynamics365/xrmtoolbox-export-entity-data-dictionary/
作者
Donghai
发布于
2025-03-14
许可协议
CC BY-NC-SA 4.0

评论区

Profile Image of the Author
Donghai
Hello, I'm Donghai.
公告
欢迎来到我的博客!这是一则示例公告。
分类
标签
最新动态
站点统计
文章
62
分类
9
标签
37
总字数
76,949
运行时长
0
最后活动
0 天前
站点信息
构建平台
Vercel
博客版本
Firefly v6.16.5
文章许可
CC BY-NC-SA 4.0