Web 资源 (WebResource) 表/实体引用 (Microsoft Dataverse)

数据相当于 Web 开发中使用的文件。 Web 资源提供用于提供自定义用户界面元素的客户端组件。

Messages

下表列出了 Web 资源 (WebResource) 表的消息。 消息表示可以在表上执行的作。 它们也可能是事件。

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

属性

下表列出了 Web 资源 (WebResource) 表的选定属性。

资产 价值
显示名称 网络资源
显示集合名称 Web 资源
架构名称 WebResource
集合架构名称 WebResources
实体集名称 webresourceset
逻辑名称 webresource
逻辑集合名称 webresources
PrimaryId属性 webresourceid
PrimaryName属性 name
表类型 Standard
所有权类型 OrganizationOwned

可写列/属性

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

CanBeDeleted

资产 价值
Description 指定是否可以删除此组件的信息。
显示名称 可以删除
IsValidForForm (形式有效)
IsValidForRead True
LogicalName canbedeleted
RequiredLevel 系统必填
类型 ManagedProperty

Content

资产 价值
Description Web 资源的字节数,采用 Base64 格式。
显示名称
IsValidForForm (形式有效)
IsValidForRead True
LogicalName content
RequiredLevel None
类型 String
Format 文本区域
格式名称 文本区域
ImeMode Auto
是可本地化的
MaxLength (最大长度) 1073741823

ContentJson

资产 价值
Description 资源的内容的 Json 表示形式。
显示名称
IsValidForForm (形式有效)
IsValidForRead True
LogicalName contentjson
RequiredLevel None
类型 备忘录
Format 文本区域
格式名称 文本区域
ImeMode Auto
是可本地化的
MaxLength (最大长度) 1073741823

DependencyXml

资产 价值
Description 仅供内部使用。
显示名称 DependencyXML
IsValidForForm (形式有效)
IsValidForRead True
LogicalName dependencyxml
RequiredLevel None
类型 备忘录
Format 文本
格式名称 文本
ImeMode Auto
是可本地化的
MaxLength (最大长度) 5000

Description

资产 价值
Description Web 资源的说明。
显示名称 说明
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName description
RequiredLevel None
类型 备忘录
Format 文本区域
格式名称 文本区域
ImeMode Auto
是可本地化的 True
MaxLength (最大长度) 2000

显示名称

资产 价值
Description Web 资源的显示名称。
显示名称 显示名称
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName displayname
RequiredLevel None
类型 String
Format 文本
格式名称 文本
ImeMode Auto
是可本地化的 True
MaxLength (最大长度) 200

IntroducedVersion

资产 价值
Description 引入表格的版本。
显示名称 引入版本
IsValidForForm (形式有效)
IsValidForRead True
LogicalName introducedversion
RequiredLevel None
类型 String
Format 版本号
格式名称 版本号
ImeMode Auto
是可本地化的
MaxLength (最大长度) 48

IsAvailableForMobileOffline

资产 价值
Description 指定此 Web 资源是否可用于脱机模式下的移动客户端的信息。
显示名称 适用于移动脱机
IsValidForForm (形式有效)
IsValidForRead True
LogicalName isavailableformobileoffline
RequiredLevel 系统必填
类型 布尔
全局选择名称 webresource_isavailableformobileoffline
默认值
真实标签 是的
虚假标签

IsCustomizable

资产 价值
Description 指定是否可以自定义此组件的信息。
显示名称 定制
IsValidForForm (形式有效)
IsValidForRead True
LogicalName iscustomizable
RequiredLevel 系统必填
类型 ManagedProperty

IsEnabledForMobileClient

资产 价值
Description 指定是否为移动客户端启用此 Web 资源的信息。
显示名称 为移动客户端启用
IsValidForForm (形式有效)
IsValidForRead True
LogicalName isenabledformobileclient
RequiredLevel 系统必填
类型 布尔
全局选择名称 webresource_isenabledformobileclient
默认值
真实标签 是的
虚假标签

IsHidden

资产 价值
Description 指定是否应隐藏此组件的信息。
显示名称
IsValidForForm (形式有效)
IsValidForRead True
LogicalName ishidden
RequiredLevel 系统必填
类型 ManagedProperty

LanguageCode

资产 价值
Description Web 资源的语言。
显示名称 语言
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName languagecode
RequiredLevel None
类型 整数
最大值 2147483647
最小值 0

Name

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

SilverlightVersion

资产 价值
Description silverlight Web 资源所需的 Silverlight 运行时版本号。
显示名称 Silverlight 版本
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName silverlightversion
RequiredLevel None
类型 String
Format 文本
格式名称 文本
ImeMode Auto
是可本地化的 True
MaxLength (最大长度) 20

WebResourceId

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

WebResourceType

资产 价值
Description 用于选择 Web 资源的类型的下拉列表。
显示名称 类型
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName webresourcetype
RequiredLevel 系统必填
类型 选择列表
默认表单值 -1
全局选择名称 webresource_webresourcetype

WebResourceType 选项/选项

价值 标签
1 网页 (HTML)
2 样式表 (CSS)
3 脚本 (JScript)
4 数据(XML)
5 PNG 格式
6 JPG 格式
7 GIF 格式
8 Silverlight (XAP)
9 样式表 (XSL)
10 ICO 格式
11 矢量格式(SVG)
12 字符串 (RESX)

只读列/属性

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

组件状态

资产 价值
Description 仅供内部使用。
显示名称 组件状态
IsValidForForm (形式有效)
IsValidForRead True
LogicalName componentstate
RequiredLevel 系统必填
类型 选择列表
默认表单值 -1
全局选择名称 componentstate

ComponentState 选择/选项

价值 标签
0 已发布
1 未发布
2 已删除
3 已删除,未发布

ContentFileRef

资产 价值
Description 对 Azure 上的内容文件的引用。
显示名称 ContentFileRef
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName contentfileref
RequiredLevel None
类型 文件
最大大小(KB) 10485760

ContentFileRef_Name

资产 价值
Description
显示名称
IsValidForForm (形式有效)
IsValidForRead True
LogicalName contentfileref_name
RequiredLevel None
类型 String
Format 文本
格式名称 文本
ImeMode Disabled
是可本地化的
MaxLength (最大长度) 200

ContentJsonFileRef

资产 价值
Description 对 Azure 上的 Json 内容文件的引用。
显示名称 ContentJsonFileRef
IsValidForForm (形式有效) True
IsValidForRead True
LogicalName contentjsonfileref
RequiredLevel None
类型 文件
最大大小(KB) 10485760

ContentJsonFileRef_Name

资产 价值
Description
显示名称
IsValidForForm (形式有效)
IsValidForRead True
LogicalName contentjsonfileref_name
RequiredLevel None
类型 String
Format 文本
格式名称 文本
ImeMode Disabled
是可本地化的
MaxLength (最大长度) 200

CreatedBy

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

CreatedOn

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

创建时BehalfBy

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

IsManaged

资产 价值
Description
显示名称
IsValidForForm (形式有效)
IsValidForRead True
LogicalName ismanaged
RequiredLevel 系统必填
类型 布尔
全局选择名称 ismanaged
默认值
真实标签 托管
虚假标签 非托管

ModifiedBy

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

修改时间

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

ModifiedOnBehalfBy

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

组织ID

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

覆盖时间

资产 价值
Description 仅供内部使用。
显示名称 记录覆盖时间
IsValidForForm (形式有效)
IsValidForRead True
LogicalName overwritetime
RequiredLevel 系统必填
类型 日期时间
可以更改日期时间行为
日期时间行为 用户本地
Format DateOnly
ImeMode 未激活
源类型掩码 0

解决方案 ID

资产 价值
Description 关联解决方案的唯一标识符。
显示名称 Solution
IsValidForForm (形式有效)
IsValidForRead True
LogicalName solutionid
RequiredLevel 系统必填
类型 Uniqueidentifier

支持解决方案 Id

资产 价值
Description 仅供内部使用。
显示名称 Solution
IsValidForForm (形式有效)
IsValidForRead
LogicalName supportingsolutionid
RequiredLevel None
类型 Uniqueidentifier

版本号

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

WebResourceIdUnique

资产 价值
Description 仅供内部使用。
显示名称
IsValidForForm (形式有效)
IsValidForRead True
LogicalName webresourceidunique
RequiredLevel 系统必填
类型 Uniqueidentifier

多对一关系

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

FileAttachment_WebResource_ContentFileRef

一To-Many 关系: fileattachment FileAttachment_WebResource_ContentFileRef

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

FileAttachment_WebResource_ContentJsonFileRef

一To-Many 关系: fileattachment FileAttachment_WebResource_ContentJsonFileRef

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

lk_webresourcebase_createdonbehalfby

一To-Many 关系: systemuser lk_webresourcebase_createdonbehalfby

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

lk_webresourcebase_modifiedonbehalfby

一To-Many 关系: systemuser lk_webresourcebase_modifiedonbehalfby

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

webresource_createdby

一To-Many 关系: systemuser webresource_createdby

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

webresource_modifiedby

一To-Many 关系: systemuser webresource_modifiedby

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

webresource_organization

一To-Many 关系: 组织webresource_organization

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

一对多关系

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

lk_theme_logoid

多To-One 关系: 主题lk_theme_logoid

资产 价值
引用实体 theme
引用属性 logoid
引用实体导航属性名称 lk_theme_logoid
IsCustomizable False
关联菜单配置 可用离线:True
行为: DoNotDisplay
群: Details
标签:
MenuId:空
次序:
QueryApi:空
视图 ID: 00000000-0000-0000-0000-000000000000

solution_configuration_webresource

多To-One 关系: 解决方案solution_configuration_webresource

资产 价值
引用实体 solution
引用属性 configurationpageid
引用实体导航属性名称 solution_configuration_webresource
IsCustomizable False
关联菜单配置 可用离线:True
行为: DoNotDisplay
群: Details
标签:
MenuId:空
次序:
QueryApi:空
视图 ID: 00000000-0000-0000-0000-000000000000

webresource_appaction_iconwebresourceid

多To-One 关系: appaction webresource_appaction_iconwebresourceid

资产 价值
引用实体 appaction
引用属性 iconwebresourceid
引用实体导航属性名称 webresource_appaction_iconwebresourceid
IsCustomizable False
关联菜单配置 可用离线:True
行为: UseCollectionName
群: Details
标签:
MenuId:空
订货量: 10000
QueryApi:空
视图 ID: 00000000-0000-0000-0000-000000000000

webresource_appaction_onclickeventjavascriptwebresourceid

多To-One 关系: appaction webresource_appaction_onclickeventjavascriptwebresourceid

资产 价值
引用实体 appaction
引用属性 onclickeventjavascriptwebresourceid
引用实体导航属性名称 webresource_appaction_onclickeventjavascriptwebresourceid
IsCustomizable False
关联菜单配置 可用离线:True
行为: UseCollectionName
群: Details
标签:
MenuId:空
订货量: 10000
QueryApi:空
视图 ID: 00000000-0000-0000-0000-000000000000

webresource_FileAttachments

多To-One 关系: fileattachment webresource_FileAttachments

资产 价值
引用实体 fileattachment
引用属性 objectid
引用实体导航属性名称 webresource_FileAttachments
IsCustomizable True
关联菜单配置 可用离线:True
行为: DoNotDisplay
群: Details
标签:
MenuId:空
次序:
QueryApi:空
视图 ID: 00000000-0000-0000-0000-000000000000

webresource_savedqueryvisualizations

多To-One 关系: savedqueryvisualization webresource_savedqueryvisualizations

资产 价值
引用实体 savedqueryvisualization
引用属性 webresourceid
引用实体导航属性名称 webresource_savedqueryvisualizations
IsCustomizable False
关联菜单配置 可用离线:True
行为: DoNotDisplay
群: Details
标签:
MenuId:空
次序:
QueryApi:空
视图 ID: 00000000-0000-0000-0000-000000000000

webresource_userqueryvisualizations

多To-One 关系: userqueryvisualization webresource_userqueryvisualizations

资产 价值
引用实体 userqueryvisualization
引用属性 webresourceid
引用实体导航属性名称 webresource_userqueryvisualizations
IsCustomizable False
关联菜单配置 可用离线:True
行为: DoNotDisplay
群: Details
标签:
MenuId:空
次序:
QueryApi:空
视图 ID: 00000000-0000-0000-0000-000000000000

多对多关系

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

appactionrule_webresource_scripts

请参阅 appactionrule appactionrule_webresource_scripts多To-Many 关系

资产 价值
相交实体名称 appactionrule_webresource_scripts
IsCustomizable
SchemaName appactionrule_webresource_scripts
相交属性 webresourceid
导航属性名称 appactionrule_webresource_scripts
关联菜单配置 可用离线:True
行为: DoNotDisplay
群: Details
标签:
MenuId:空
次序:
QueryApi:空
视图 ID: 00000000-0000-0000-0000-000000000000

另请参阅

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