今天有一位业务部门用户联系我,问某个实体上的选项集都有哪些选项,我寻思这个实体的选项字段不多,可以在表单上通过 Level up for Dynamics 365/Power Apps 浏览器插件中的 SHOW OPTIONSET VALUES 功能,复制粘贴到 Excel 就行。
但是,如果这个实体选项字段非常多的话,还使用这种 “笨方式” ,显然不理智。所以我在 XrmToolBox 搜了个可以导出实体字段的工具,可以通过这个工具导出。
工具1 Metadata Document Generator
在 XrmToolBox 上安装 Metadata Document Generator 并打开它

打开 Metadata Document Generator
点击 Load Entity –> 选择 导出文件存储位置 –> 选择 实体 –> 选择 导出的选项(按需,选项如下) –> 点击按钮栏上的 Generate Document

Metadata Document Generator - 生成客户实体数据字典
- 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 数据字典如下:

Metadata Document Generator - 生成客户实体数据字典(Excel)
工具2 Attributes Factory
除了 Metadata Document Generator 工具 ,我们还可以使用 Attributes Factory 工具导出。
在 XrmToolBox 上安装 Attributes Factory 并打开它

打开 Attributes Factory
选择 Export tables –> 选择 解决方案 –> 勾选 实体 –> 选择 导出的选项(按需) –> 点击 OK 按钮

Attributes Factory 操作 - 01
选择 导出文件存储位置 –> 输入 文件名名称 –> 点击 保存

Attributes Factory 操作 - 02
生成的 Excel 数据字典如下:

Attributes Factory - 生成客户实体数据字典(Excel)
感谢您的耐心阅读!来选个表情,或者留个评论吧!