文档模板 (DocumentTemplate) 表/实体引用 (Microsoft Dataverse)

用于以二进制格式将文档模板存储在数据库中。

Messages

下表列出了文档模板(DocumentTemplate)表的消息。 消息表示可以在表上执行的作。 它们也可能是事件。

名称
是事件?
Web API 操作 SDK for .NET
Associate
事件:True
关联记录 关联记录
Create
事件:True
POST /documenttemplates
请参阅 创建
创建记录
Delete
事件:False
DELETE /documenttemplates(documenttemplateid
请参阅 删除
删除记录
Disassociate
事件:True
取消关联记录 取消关联记录
Retrieve
事件:True
GET /documenttemplates(documenttemplateid
请参阅 检索
检索记录
RetrieveMultiple
事件:True
GET /documenttemplates
查看 查询数据
查询数据
Update
事件:False
PATCH /documenttemplates(documenttemplateid
查看 更新
更新记录
Upsert
事件:False
PATCH /documenttemplates(documenttemplateid
请参阅更新 插入表行
UpsertRequest

属性

下表列出了文档模板(DocumentTemplate)表的选定属性。

资产 价值
显示名称 文档模板
显示集合名称 文档模板
架构名称 DocumentTemplate
集合架构名称 DocumentTemplates
实体集名称 documenttemplates
逻辑名称 documenttemplate
逻辑集合名称 documenttemplates
PrimaryId属性 documenttemplateid
PrimaryName属性 name
表类型 Standard
所有权类型 OrganizationOwned

可写列/属性

这些列/属性为 IsValidForCreateIsValidForUpdate (通常两者) 返回 true。 按 SchemaName 列出。

AssociatedEntityTypeCode

资产 价值
Description 关联的实体类型代码。
显示名称 关联的实体类型代码
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName associatedentitytypecode
RequiredLevel None
类型 实体名称

ClientData

资产 价值
Description 有关本文档模板的客户端数据。
显示名称 客户端数据
IsValidForForm (形式有效)
IsValidForRead True
LogicalName clientdata
RequiredLevel None
类型 String
Format 文本区域
格式名称 文本区域
ImeMode Auto
是可本地化的
MaxLength (最大长度) 1073741823

Content

资产 价值
Description 文档模板的字节数。
显示名称 Content
IsValidForForm (形式有效)
IsValidForRead True
LogicalName content
RequiredLevel 系统必填
类型 String
Format 文本区域
格式名称 文本区域
ImeMode Auto
是可本地化的
MaxLength (最大长度) 1073741823

Description

资产 价值
Description 描述文档模板的其他信息
显示名称 说明
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName description
RequiredLevel None
类型 String
Format 文本区域
格式名称 文本区域
ImeMode Auto
是可本地化的
MaxLength (最大长度) 100

DocumentTemplateId

资产 价值
Description 文档模板的唯一标识符。
显示名称 文档模板标识符
IsValidForForm (形式有效)
IsValidForRead True
LogicalName documenttemplateid
RequiredLevel 系统必填
类型 Uniqueidentifier

文档类型

资产 价值
Description 用于选择文档模板类型的选项集
显示名称 类型
IsValidForForm (形式有效)
IsValidForRead True
LogicalName documenttype
RequiredLevel 系统必填
类型 选择列表
默认表单值 -1
全局选择名称 officedocument_documenttype

DocumentType 选项/选项

价值 标签
1 Microsoft Excel
2 Microsoft Word

LanguageCode

资产 价值
Description 文档模板的语言。
显示名称 语言
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName languagecode
RequiredLevel 系统必填
类型 整数
最大值 2147483647
最小值 0

Name

资产 价值
Description 文档模板的名称。
显示名称 名称
IsValidForForm (形式有效)
IsValidForRead True
LogicalName name
RequiredLevel 系统必填
类型 String
Format 文本
格式名称 文本
ImeMode Auto
是可本地化的
MaxLength (最大长度) 256

状态

资产 价值
Description 有关文档模板是否处于活动状态的信息。
显示名称 地位
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName status
RequiredLevel None
类型 布尔
全局选择名称 documenttemplate_status
默认值
真实标签 草稿
虚假标签 Activated

只读列/属性

这些列/属性为 IsValidForCreateIsValidForUpdate 返回 false。 按 SchemaName 列出。

CreatedBy

资产 价值
Description 创建文档模板的用户的唯一标识符。
显示名称 创建者
IsValidForForm (形式有效)
IsValidForRead True
LogicalName createdby
RequiredLevel None
类型 查找
Targets systemuser

CreatedOn

资产 价值
Description 创建文档模板的日期和时间。
显示名称 创建时间
IsValidForForm (形式有效)
IsValidForRead True
LogicalName createdon
RequiredLevel None
类型 日期时间
可以更改日期时间行为
日期时间行为 用户本地
Format 日期和时间
ImeMode 未激活
源类型掩码 0

创建时BehalfBy

资产 价值
Description 创建文档模板的委托用户的唯一标识符。
显示名称 创建者(委托)
IsValidForForm (形式有效)
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
类型 查找
Targets systemuser

ModifiedBy

资产 价值
Description 上次修改文档模板的用户的唯一标识符。
显示名称 修改者
IsValidForForm (形式有效)
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
类型 查找
Targets systemuser

修改时间

资产 价值
Description 上次修改文档模板的日期和时间。
显示名称 修改时间
IsValidForForm (形式有效)
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
类型 日期时间
可以更改日期时间行为
日期时间行为 用户本地
Format 日期和时间
ImeMode 未激活
源类型掩码 0

ModifiedOnBehalfBy

资产 价值
Description 修改文档模板的委托用户的唯一标识符。
显示名称 创建者(委托)
IsValidForForm (形式有效)
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
类型 查找
Targets systemuser

组织ID

资产 价值
Description 与 Web 资源关联的组织的唯一标识符。
显示名称 组织
IsValidForForm (形式有效)
IsValidForRead True
LogicalName organizationid
RequiredLevel 系统必填
类型 查找
Targets 组织

版本号

资产 价值
Description
显示名称
IsValidForForm (形式有效)
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
类型 BigInt
最大值 9223372036854775807
最小值 -9223372036854775808

多对一关系

这些关系是多对一的。 按 SchemaName 列出。

lk_documenttemplatebase_createdby

一To-Many 关系: systemuser lk_documenttemplatebase_createdby

资产 价值
引用实体 systemuser
引用属性 systemuserid
引用属性 createdby
ReferencingEntityNavigationPropertyName createdby
是层次结构
级联配置 档案: NoCascade
分配: NoCascade
删除: NoCascade
合并: NoCascade
重新父级: NoCascade
RollupView: NoCascade
共享: NoCascade
取消分享: NoCascade

lk_documenttemplatebase_createdonbehalfby

一To-Many 关系: systemuser lk_documenttemplatebase_createdonbehalfby

资产 价值
引用实体 systemuser
引用属性 systemuserid
引用属性 createdonbehalfby
ReferencingEntityNavigationPropertyName createdonbehalfby
是层次结构
级联配置 档案: NoCascade
分配: NoCascade
删除: NoCascade
合并: NoCascade
重新父级: NoCascade
RollupView: NoCascade
共享: NoCascade
取消分享: NoCascade

lk_documenttemplatebase_modifiedby

一To-Many 关系: systemuser lk_documenttemplatebase_modifiedby

资产 价值
引用实体 systemuser
引用属性 systemuserid
引用属性 modifiedby
ReferencingEntityNavigationPropertyName modifiedby
是层次结构
级联配置 档案: NoCascade
分配: NoCascade
删除: NoCascade
合并: NoCascade
重新父级: NoCascade
RollupView: NoCascade
共享: NoCascade
取消分享: NoCascade

lk_documenttemplatebase_modifiedonbehalfby

单To-Many 关系: systemuser lk_documenttemplatebase_modifiedonbehalfby

资产 价值
引用实体 systemuser
引用属性 systemuserid
引用属性 modifiedonbehalfby
ReferencingEntityNavigationPropertyName modifiedonbehalfby
是层次结构
级联配置 档案: NoCascade
分配: NoCascade
删除: NoCascade
合并: NoCascade
重新父级: NoCascade
RollupView: NoCascade
共享: NoCascade
取消分享: NoCascade

lk_documenttemplatebase_organization

一To-Many 关系: 组织lk_documenttemplatebase_organization

资产 价值
引用实体 organization
引用属性 organizationid
引用属性 organizationid
ReferencingEntityNavigationPropertyName organizationid
是层次结构
级联配置 档案: NoCascade
分配: NoCascade
删除: NoCascade
合并: NoCascade
重新父级: NoCascade
RollupView: NoCascade
共享: NoCascade
取消分享: NoCascade

另请参阅

Dataverse 表/实体引用
Dataverse Web API 参考
documenttemplate