Bewerken

Delen via


Web Resource (WebResource) table/entity reference

Data equivalent to files used in Web development. Web resources provide client-side components that are used to provide custom user interface elements.

Messages

The following table lists the messages for the Web Resource (WebResource) table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Create
Event: True
POST /webresourceset
See Create
Create records
Delete
Event: True
DELETE /webresourceset(webresourceid)
See Delete
Delete records
Retrieve
Event: True
GET /webresourceset(webresourceid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: True
GET /webresourceset
See Query data
Query data
RetrieveUnpublished
Event: True
RetrieveUnpublished RetrieveUnpublishedRequest
RetrieveUnpublishedMultiple
Event: True
RetrieveUnpublishedMultiple RetrieveUnpublishedMultipleRequest
Update
Event: True
PATCH /webresourceset(webresourceid)
See Update
Update records
Upsert
Event: False
PATCH /webresourceset(webresourceid)
See Upsert a table row
UpsertRequest

Properties

The following table lists selected properties for the Web Resource (WebResource) table.

Property Value
DisplayName Web Resource
DisplayCollectionName Web Resources
SchemaName WebResource
CollectionSchemaName WebResources
EntitySetName webresourceset
LogicalName webresource
LogicalCollectionName webresources
PrimaryIdAttribute webresourceid
PrimaryNameAttribute name
TableType Standard
OwnershipType OrganizationOwned

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

CanBeDeleted

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

Content

Property Value
Description Bytes of the web resource, in Base64 format.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName content
RequiredLevel None
Type String
Format TextArea
FormatName TextArea
ImeMode Auto
IsLocalizable False
MaxLength 1073741823

ContentJson

Property Value
Description Json representation of the content of the resource.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName contentjson
RequiredLevel None
Type Memo
Format TextArea
FormatName TextArea
ImeMode Auto
IsLocalizable False
MaxLength 1073741823

DependencyXml

Property Value
Description For internal use only.
DisplayName DependencyXML
IsValidForForm False
IsValidForRead True
LogicalName dependencyxml
RequiredLevel None
Type Memo
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 5000

Description

Property Value
Description Description of the web resource.
DisplayName Description
IsValidForForm True
IsValidForRead True
LogicalName description
RequiredLevel None
Type Memo
Format TextArea
FormatName TextArea
ImeMode Auto
IsLocalizable True
MaxLength 2000

DisplayName

Property Value
Description Display name of the web resource.
DisplayName Display Name
IsValidForForm True
IsValidForRead True
LogicalName displayname
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable True
MaxLength 200

IntroducedVersion

Property Value
Description Version in which the form is introduced.
DisplayName Introduced Version
IsValidForForm False
IsValidForRead True
LogicalName introducedversion
RequiredLevel None
Type String
Format VersionNumber
FormatName VersionNumber
ImeMode Auto
IsLocalizable False
MaxLength 48

IsAvailableForMobileOffline

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
GlobalChoiceName webresource_isavailableformobileoffline
DefaultValue False
True Label Yes
False Label No

IsCustomizable

Property Value
Description Information that specifies whether this component can be customized.
DisplayName Customizable
IsValidForForm False
IsValidForRead True
LogicalName iscustomizable
RequiredLevel SystemRequired
Type ManagedProperty

IsEnabledForMobileClient

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
GlobalChoiceName webresource_isenabledformobileclient
DefaultValue False
True Label Yes
False Label No

IsHidden

Property Value
Description Information that specifies whether this component should be hidden.
DisplayName Hidden
IsValidForForm False
IsValidForRead True
LogicalName ishidden
RequiredLevel SystemRequired
Type ManagedProperty

LanguageCode

Property Value
Description Language of the web resource.
DisplayName Language
IsValidForForm True
IsValidForRead True
LogicalName languagecode
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue 0

Name

Property Value
Description Name of the web resource.
DisplayName Name
IsValidForForm True
IsValidForRead True
LogicalName name
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 256

SilverlightVersion

Property Value
Description Silverlight runtime version number required by a silverlight web resource.
DisplayName Silverlight Version
IsValidForForm True
IsValidForRead True
LogicalName silverlightversion
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable True
MaxLength 20

WebResourceId

Property Value
Description Unique identifier of the web resource.
DisplayName Web Resource Identifier
IsValidForForm False
IsValidForRead True
LogicalName webresourceid
RequiredLevel SystemRequired
Type Uniqueidentifier

WebResourceType

Property Value
Description Drop-down list for selecting the type of the web resource.
DisplayName Type
IsValidForForm True
IsValidForRead True
LogicalName webresourcetype
RequiredLevel SystemRequired
Type Picklist
DefaultFormValue -1
GlobalChoiceName webresource_webresourcetype

WebResourceType Choices/Options

Value Label
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)

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

ComponentState

Property Value
Description For internal use only.
DisplayName Component State
IsValidForForm False
IsValidForRead True
LogicalName componentstate
RequiredLevel SystemRequired
Type Picklist
DefaultFormValue -1
GlobalChoiceName componentstate

ComponentState Choices/Options

Value Label
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished

ContentFileRef

Property Value
Description Reference to the content file on Azure.
DisplayName ContentFileRef
IsValidForForm True
IsValidForRead True
LogicalName contentfileref
RequiredLevel None
Type File
MaxSizeInKB 10485760

ContentFileRef_Name

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName contentfileref_name
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Disabled
IsLocalizable False
MaxLength 200

ContentJsonFileRef

Property Value
Description Reference to the Json content file on Azure.
DisplayName ContentJsonFileRef
IsValidForForm True
IsValidForRead True
LogicalName contentjsonfileref
RequiredLevel None
Type File
MaxSizeInKB 10485760

ContentJsonFileRef_Name

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName contentjsonfileref_name
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Disabled
IsLocalizable False
MaxLength 200

CreatedBy

Property Value
Description Unique identifier of the user who created the web resource.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel None
Type Lookup
Targets systemuser

CreatedOn

Property Value
Description Date and time when the web resource was created.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

CreatedOnBehalfBy

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
Type Lookup
Targets systemuser

IsManaged

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName ismanaged
RequiredLevel SystemRequired
Type Boolean
GlobalChoiceName ismanaged
DefaultValue False
True Label Managed
False Label Unmanaged

ModifiedBy

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
Type Lookup
Targets systemuser

ModifiedOn

Property Value
Description Date and time when the web resource was last modified.
DisplayName Modified On
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

ModifiedOnBehalfBy

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
Type Lookup
Targets systemuser

OrganizationId

Property Value
Description Unique identifier of the organization associated with the web resource.
DisplayName Organization
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel SystemRequired
Type Lookup
Targets organization

OverwriteTime

Property Value
Description For internal use only.
DisplayName Record Overwrite Time
IsValidForForm False
IsValidForRead True
LogicalName overwritetime
RequiredLevel SystemRequired
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

SolutionId

Property Value
Description Unique identifier of the associated solution.
DisplayName Solution
IsValidForForm False
IsValidForRead True
LogicalName solutionid
RequiredLevel SystemRequired
Type Uniqueidentifier

SupportingSolutionId

Property Value
Description For internal use only.
DisplayName Solution
IsValidForForm False
IsValidForRead False
LogicalName supportingsolutionid
RequiredLevel None
Type Uniqueidentifier

VersionNumber

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

WebResourceIdUnique

Property Value
Description For internal use only.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName webresourceidunique
RequiredLevel SystemRequired
Type Uniqueidentifier

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

FileAttachment_WebResource_ContentFileRef

One-To-Many Relationship: fileattachment FileAttachment_WebResource_ContentFileRef

Property Value
ReferencedEntity fileattachment
ReferencedAttribute fileattachmentid
ReferencingAttribute contentfileref
ReferencingEntityNavigationPropertyName ContentFileRef
IsHierarchical
CascadeConfiguration Archive: RemoveLink
Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

FileAttachment_WebResource_ContentJsonFileRef

One-To-Many Relationship: fileattachment FileAttachment_WebResource_ContentJsonFileRef

Property Value
ReferencedEntity fileattachment
ReferencedAttribute fileattachmentid
ReferencingAttribute contentjsonfileref
ReferencingEntityNavigationPropertyName ContentJsonFileRef
IsHierarchical
CascadeConfiguration Archive: RemoveLink
Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_webresourcebase_createdonbehalfby

One-To-Many Relationship: systemuser lk_webresourcebase_createdonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdonbehalfby
ReferencingEntityNavigationPropertyName createdonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_webresourcebase_modifiedonbehalfby

One-To-Many Relationship: systemuser lk_webresourcebase_modifiedonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedonbehalfby
ReferencingEntityNavigationPropertyName modifiedonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

webresource_createdby

One-To-Many Relationship: systemuser webresource_createdby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdby
ReferencingEntityNavigationPropertyName createdby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

webresource_modifiedby

One-To-Many Relationship: systemuser webresource_modifiedby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedby
ReferencingEntityNavigationPropertyName modifiedby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

webresource_organization

One-To-Many Relationship: organization webresource_organization

Property Value
ReferencedEntity organization
ReferencedAttribute organizationid
ReferencingAttribute organizationid
ReferencingEntityNavigationPropertyName organizationid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

lk_theme_logoid

Many-To-One Relationship: theme lk_theme_logoid

Property Value
ReferencingEntity theme
ReferencingAttribute logoid
ReferencedEntityNavigationPropertyName lk_theme_logoid
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

solution_configuration_webresource

Many-To-One Relationship: solution solution_configuration_webresource

Property Value
ReferencingEntity solution
ReferencingAttribute configurationpageid
ReferencedEntityNavigationPropertyName solution_configuration_webresource
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

webresource_appaction_iconwebresourceid

Many-To-One Relationship: appaction webresource_appaction_iconwebresourceid

Property Value
ReferencingEntity appaction
ReferencingAttribute iconwebresourceid
ReferencedEntityNavigationPropertyName webresource_appaction_iconwebresourceid
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

webresource_appaction_onclickeventjavascriptwebresourceid

Many-To-One Relationship: appaction webresource_appaction_onclickeventjavascriptwebresourceid

Property Value
ReferencingEntity appaction
ReferencingAttribute onclickeventjavascriptwebresourceid
ReferencedEntityNavigationPropertyName webresource_appaction_onclickeventjavascriptwebresourceid
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

webresource_FileAttachments

Many-To-One Relationship: fileattachment webresource_FileAttachments

Property Value
ReferencingEntity fileattachment
ReferencingAttribute objectid
ReferencedEntityNavigationPropertyName webresource_FileAttachments
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

webresource_savedqueryvisualizations

Many-To-One Relationship: savedqueryvisualization webresource_savedqueryvisualizations

Property Value
ReferencingEntity savedqueryvisualization
ReferencingAttribute webresourceid
ReferencedEntityNavigationPropertyName webresource_savedqueryvisualizations
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

webresource_userqueryvisualizations

Many-To-One Relationship: userqueryvisualization webresource_userqueryvisualizations

Property Value
ReferencingEntity userqueryvisualization
ReferencingAttribute webresourceid
ReferencedEntityNavigationPropertyName webresource_userqueryvisualizations
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

Many-to-Many relationships

These relationships are many-to-many. Listed by SchemaName.

appactionrule_webresource_scripts

See appactionrule appactionrule_webresource_scripts Many-To-Many Relationship

Property Value
IntersectEntityName appactionrule_webresource_scripts
IsCustomizable False
SchemaName appactionrule_webresource_scripts
IntersectAttribute webresourceid
NavigationPropertyName appactionrule_webresource_scripts
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference
webresource