title | description | ms.date | ms.service | ms.topic | ms.assetid | author | ms.author | search.audienceType | |
---|---|---|---|---|---|---|---|---|---|
WebResource table/entity reference (Microsoft Dataverse) | Microsoft Docs |
Includes schema information and supported messages for the WebResource table/entity. |
06/04/2024 |
powerapps |
reference |
3948cc48-07c8-7f60-0608-71c37158ad7c |
phecke |
pehecke |
|
Note
Unsure about table vs. entity? See Developers: Understand terminology in Microsoft Dataverse.
Data equivalent to files used in Web development. Web resources provide client-side components that are used to provide custom user interface elements.
Message | Web API Operation | SDK class or method |
---|---|---|
Create | POST /webresourceset See Create |
xref:Microsoft.Xrm.Sdk.Messages.CreateRequest or xref:Microsoft.Xrm.Sdk.IOrganizationService.Create* |
Delete | DELETE /webresourceset(webresourceid) See Delete |
xref:Microsoft.Xrm.Sdk.Messages.DeleteRequest or xref:Microsoft.Xrm.Sdk.IOrganizationService.Delete* |
Retrieve | GET /webresourceset(webresourceid) See Retrieve |
xref:Microsoft.Xrm.Sdk.Messages.RetrieveRequest or xref:Microsoft.Xrm.Sdk.IOrganizationService.Retrieve* |
RetrieveMultiple | GET /webresourceset See Query Data |
xref:Microsoft.Xrm.Sdk.Messages.RetrieveMultipleRequest or xref:Microsoft.Xrm.Sdk.IOrganizationService.RetrieveMultiple* |
RetrieveUnpublished | <xref:Microsoft.Dynamics.CRM.RetrieveUnpublished?displayProperty=nameWithType /> | xref:Microsoft.Crm.Sdk.Messages.RetrieveUnpublishedRequest |
RetrieveUnpublishedMultiple | <xref:Microsoft.Dynamics.CRM.RetrieveUnpublishedMultiple?displayProperty=nameWithType /> | xref:Microsoft.Crm.Sdk.Messages.RetrieveUnpublishedMultipleRequest |
Update | PATCH /webresourceset(webresourceid) See Update |
xref:Microsoft.Xrm.Sdk.Messages.UpdateRequest or xref:Microsoft.Xrm.Sdk.IOrganizationService.Update* |
Property | Value |
---|---|
CollectionSchemaName | WebResources |
DisplayCollectionName | Web Resources |
DisplayName | Web Resource |
EntitySetName | webresourceset |
IsBPFEntity | False |
LogicalCollectionName | webresources |
LogicalName | webresource |
OwnershipType | OrganizationOwned |
PrimaryIdAttribute | webresourceid |
PrimaryNameAttribute | name |
SchemaName | WebResource |
These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.
- CanBeDeleted
- Content
- ContentJson
- DependencyXml
- Description
- DisplayName
- IntroducedVersion
- IsAvailableForMobileOffline
- IsCustomizable
- IsEnabledForMobileClient
- IsHidden
- LanguageCode
- Name
- SilverlightVersion
- WebResourceId
- WebResourceType
Property | Value |
---|---|
Description | Information that specifies whether this component can be deleted. |
DisplayName | Can Be Deleted |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | canbedeleted |
RequiredLevel | SystemRequired |
Type | ManagedProperty |
Property | Value |
---|---|
Description | Bytes of the web resource, in Base64 format. |
DisplayName | |
FormatName | TextArea |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | content |
MaxLength | 1073741823 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | Json representation of the content of the resource. |
DisplayName | |
Format | TextArea |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | contentjson |
MaxLength | 1073741823 |
RequiredLevel | None |
Type | Memo |
Property | Value |
---|---|
Description | For internal use only. |
DisplayName | DependencyXML |
Format | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | dependencyxml |
MaxLength | 5000 |
RequiredLevel | None |
Type | Memo |
Property | Value |
---|---|
Description | Description of the web resource. |
DisplayName | Description |
Format | TextArea |
IsLocalizable | True |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | description |
MaxLength | 2000 |
RequiredLevel | None |
Type | Memo |
Property | Value |
---|---|
Description | Display name of the web resource. |
DisplayName | Display Name |
FormatName | Text |
IsLocalizable | True |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | displayname |
MaxLength | 200 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | Version in which the form is introduced. |
DisplayName | Introduced Version |
FormatName | VersionNumber |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
IsValidForUpdate | False |
LogicalName | introducedversion |
MaxLength | 48 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | Information that specifies whether this web resource is available for mobile client in offline mode. |
DisplayName | Is Available For Mobile Offline |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | isavailableformobileoffline |
RequiredLevel | SystemRequired |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Yes | |
0 | No |
DefaultValue: 0
Property | Value |
---|---|
Description | Information that specifies whether this component can be customized. |
DisplayName | Customizable |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | iscustomizable |
RequiredLevel | SystemRequired |
Type | ManagedProperty |
Property | Value |
---|---|
Description | Information that specifies whether this web resource is enabled for mobile client. |
DisplayName | Is Enabled For Mobile Client |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | isenabledformobileclient |
RequiredLevel | SystemRequired |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Yes | |
0 | No |
DefaultValue: 0
Property | Value |
---|---|
Description | Information that specifies whether this component should be hidden. |
DisplayName | Hidden |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | ishidden |
RequiredLevel | SystemRequired |
Type | ManagedProperty |
Property | Value |
---|---|
Description | Language of the web resource. |
DisplayName | Language |
Format | Language |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | languagecode |
MaxValue | 2147483647 |
MinValue | 0 |
RequiredLevel | None |
Type | Integer |
Property | Value |
---|---|
Description | Name of the web resource. |
DisplayName | Name |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | True |
IsValidForRead | True |
IsValidForUpdate | False |
LogicalName | name |
MaxLength | 256 |
RequiredLevel | SystemRequired |
Type | String |
Property | Value |
---|---|
Description | Silverlight runtime version number required by a silverlight web resource. |
DisplayName | Silverlight Version |
FormatName | Text |
IsLocalizable | True |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | silverlightversion |
MaxLength | 20 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | Unique identifier of the web resource. |
DisplayName | Web Resource Identifier |
IsValidForForm | False |
IsValidForRead | True |
IsValidForUpdate | False |
LogicalName | webresourceid |
RequiredLevel | SystemRequired |
Type | Uniqueidentifier |
Property | Value |
---|---|
Description | Drop-down list for selecting the type of the web resource. |
DisplayName | Type |
IsValidForForm | True |
IsValidForRead | True |
IsValidForUpdate | False |
LogicalName | webresourcetype |
RequiredLevel | SystemRequired |
Type | Picklist |
Value | Label | Description |
---|---|---|
1 | Webpage (HTML) | |
2 | Style Sheet (CSS) | |
3 | Script (JScript) | |
4 | Data (XML) | |
5 | PNG format | |
6 | JPG format | |
7 | GIF format | |
8 | Silverlight (XAP) | |
9 | Style Sheet (XSL) | |
10 | ICO format | |
11 | Vector format (SVG) | |
12 | String (RESX) |
These columns/attributes return false for both IsValidForCreate or IsValidForUpdate. Listed by SchemaName.
- ComponentState
- ContentFileRef
- ContentFileRef_Name
- ContentJsonFileRef
- ContentJsonFileRef_Name
- CreatedBy
- CreatedOn
- CreatedOnBehalfBy
- CreatedOnBehalfByName
- CreatedOnBehalfByYomiName
- IsManaged
- ModifiedBy
- ModifiedOn
- ModifiedOnBehalfBy
- ModifiedOnBehalfByName
- ModifiedOnBehalfByYomiName
- OrganizationId
- OrganizationIdName
- OverwriteTime
- SolutionId
- SupportingSolutionId
- VersionNumber
- WebResourceIdUnique
Property | Value |
---|---|
Description | For internal use only. |
DisplayName | Component State |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | componentstate |
RequiredLevel | SystemRequired |
Type | Picklist |
Value | Label | Description |
---|---|---|
0 | Published | |
1 | Unpublished | |
2 | Deleted | |
3 | Deleted Unpublished |
Added by: UnifiedClientWebResourceFileType Solution
Property | Value |
---|---|
Description | Reference to the content file on Azure. |
DisplayName | ContentFileRef |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | contentfileref |
RequiredLevel | None |
Type | File |
Added by: UnifiedClientWebResourceFileType Solution
Property | Value |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | contentfileref_name |
MaxLength | 200 |
RequiredLevel | None |
Type | String |
Added by: UnifiedClientWebResourceFileType Solution
Property | Value |
---|---|
Description | Reference to the Json content file on Azure. |
DisplayName | ContentJsonFileRef |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | contentjsonfileref |
RequiredLevel | None |
Type | File |
Added by: UnifiedClientWebResourceFileType Solution
Property | Value |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | contentjsonfileref_name |
MaxLength | 200 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | Unique identifier of the user who created the web resource. |
DisplayName | Created By |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | createdby |
RequiredLevel | None |
Targets | systemuser |
Type | Lookup |
Property | Value |
---|---|
DateTimeBehavior | UserLocal |
Description | Date and time when the web resource was created. |
DisplayName | Created On |
Format | DateAndTime |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | createdon |
RequiredLevel | None |
Type | DateTime |
Property | Value |
---|---|
Description | Unique identifier of the delegate user who created the web resource. |
DisplayName | Created By (Delegate) |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | createdonbehalfby |
RequiredLevel | None |
Targets | systemuser |
Type | Lookup |
Property | Value |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | createdonbehalfbyname |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | createdonbehalfbyyominame |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | ismanaged |
RequiredLevel | SystemRequired |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Managed | |
0 | Unmanaged |
DefaultValue: 0
Property | Value |
---|---|
Description | Unique identifier of the user who last modified the web resource. |
DisplayName | Modified By |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | modifiedby |
RequiredLevel | None |
Targets | systemuser |
Type | Lookup |
Property | Value |
---|---|
DateTimeBehavior | UserLocal |
Description | Date and time when the web resource was last modified. |
DisplayName | Modified On |
Format | DateAndTime |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | modifiedon |
RequiredLevel | None |
Type | DateTime |
Property | Value |
---|---|
Description | Unique identifier of the delegate user who modified the web resource. |
DisplayName | Created By (Delegate) |
IsValidForForm | True |
IsValidForRead | True |
LogicalName | modifiedonbehalfby |
RequiredLevel | None |
Targets | systemuser |
Type | Lookup |
Property | Value |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | modifiedonbehalfbyname |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | modifiedonbehalfbyyominame |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | Unique identifier of the organization associated with the web resource. |
DisplayName | Organization |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | organizationid |
RequiredLevel | SystemRequired |
Targets | organization |
Type | Lookup |
Property | Value |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | organizationidname |
MaxLength | 100 |
RequiredLevel | SystemRequired |
Type | String |
Property | Value |
---|---|
DateTimeBehavior | UserLocal |
Description | For internal use only. |
DisplayName | Record Overwrite Time |
Format | DateOnly |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | overwritetime |
RequiredLevel | SystemRequired |
Type | DateTime |
Property | Value |
---|---|
Description | Unique identifier of the associated solution. |
DisplayName | Solution |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | solutionid |
RequiredLevel | SystemRequired |
Type | Uniqueidentifier |
Property | Value |
---|---|
Description | For internal use only. |
DisplayName | Solution |
IsValidForForm | False |
IsValidForRead | False |
LogicalName | supportingsolutionid |
RequiredLevel | None |
Type | Uniqueidentifier |
Property | Value |
---|---|
Description | |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | versionnumber |
MaxValue | 9223372036854775807 |
MinValue | -9223372036854775808 |
RequiredLevel | None |
Type | BigInt |
Property | Value |
---|---|
Description | For internal use only. |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | webresourceidunique |
RequiredLevel | SystemRequired |
Type | Uniqueidentifier |
Listed by SchemaName.
- webresource_savedqueryvisualizations
- solution_configuration_webresource
- webresource_userqueryvisualizations
- lk_theme_logoid
- webresource_appaction_iconwebresourceid
- webresource_appaction_onclickeventjavascriptwebresourceid
Same as the webresource_savedqueryvisualizations many-to-one relationship for the savedqueryvisualization table/entity.
Property | Value |
---|---|
ReferencingEntity | savedqueryvisualization |
ReferencingAttribute | webresourceid |
IsHierarchical | False |
IsCustomizable | False |
ReferencedEntityNavigationPropertyName | webresource_savedqueryvisualizations |
AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
CascadeConfiguration | Assign: NoCascade Delete: Restrict Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Same as the solution_configuration_webresource many-to-one relationship for the solution table/entity.
Property | Value |
---|---|
ReferencingEntity | solution |
ReferencingAttribute | configurationpageid |
IsHierarchical | False |
IsCustomizable | False |
ReferencedEntityNavigationPropertyName | solution_configuration_webresource |
AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
CascadeConfiguration | Assign: NoCascade Delete: RemoveLink Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Same as the webresource_userqueryvisualizations many-to-one relationship for the userqueryvisualization table/entity.
Property | Value |
---|---|
ReferencingEntity | userqueryvisualization |
ReferencingAttribute | webresourceid |
IsHierarchical | False |
IsCustomizable | False |
ReferencedEntityNavigationPropertyName | webresource_userqueryvisualizations |
AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
CascadeConfiguration | Assign: NoCascade Delete: NoCascade Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Same as the lk_theme_logoid many-to-one relationship for the theme table/entity.
Property | Value |
---|---|
ReferencingEntity | theme |
ReferencingAttribute | logoid |
IsHierarchical | False |
IsCustomizable | False |
ReferencedEntityNavigationPropertyName | lk_theme_logoid |
AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
CascadeConfiguration | Assign: NoCascade Delete: Restrict Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Added by: Power Apps Actions Solution
Same as the webresource_appaction_iconwebresourceid many-to-one relationship for the appaction table/entity.
Property | Value |
---|---|
ReferencingEntity | appaction |
ReferencingAttribute | iconwebresourceid |
IsHierarchical | False |
IsCustomizable | False |
ReferencedEntityNavigationPropertyName | webresource_appaction_iconwebresourceid |
AssociatedMenuConfiguration | Behavior: UseCollectionName Group: Details Label: Order: 10000 |
CascadeConfiguration | Assign: NoCascade Delete: RemoveLink Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Added by: Power Apps Actions Solution
Same as the webresource_appaction_onclickeventjavascriptwebresourceid many-to-one relationship for the appaction table/entity.
Property | Value |
---|---|
ReferencingEntity | appaction |
ReferencingAttribute | onclickeventjavascriptwebresourceid |
IsHierarchical | False |
IsCustomizable | False |
ReferencedEntityNavigationPropertyName | webresource_appaction_onclickeventjavascriptwebresourceid |
AssociatedMenuConfiguration | Behavior: UseCollectionName Group: Details Label: Order: 10000 |
CascadeConfiguration | Assign: NoCascade Delete: RemoveLink Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Each Many-To-One relationship is defined by a corresponding One-To-Many relationship with the related table. Listed by SchemaName.
- lk_webresourcebase_modifiedonbehalfby
- webresource_createdby
- lk_webresourcebase_createdonbehalfby
- webresource_modifiedby
- webresource_organization
See the lk_webresourcebase_modifiedonbehalfby one-to-many relationship for the systemuser table/entity.
See the webresource_createdby one-to-many relationship for the systemuser table/entity.
See the lk_webresourcebase_createdonbehalfby one-to-many relationship for the systemuser table/entity.
See the webresource_modifiedby one-to-many relationship for the systemuser table/entity.
See the webresource_organization one-to-many relationship for the organization table/entity.
Relationship details provided where the WebResource table is the first table in the relationship. Listed by SchemaName.
See the appactionrule_webresource_scripts many-to-many relationship for the appactionrule table/entity.