webresource EntityType
Data equivalent to files used in Web development. Web resources provide client-side components that are used to provide custom user interface elements.
- Entity Set Path
- [organization URI]/api/data/v9.0/webresourceset
- Base Type
- crmbaseentity
- Display Name
- Web Resource
- Primary Key
- webresourceid
- Primary Key Attribute
- name
- Operations Supported
- POST GET PATCH DELETE
Properties
Properties represent fields of data stored in the entity.Some properties are read-only.
| Name | Type | Details | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| canbedeleted | BooleanManagedProperty |
Information that specifies whether this component can be deleted. Display Name: Can Be Deleted |
||||||||||||||||||||||||||
| componentstate | Edm.Int32 |
For internal use only. Display Name: Component State Read Only
Default Options
|
||||||||||||||||||||||||||
| content | Edm.String |
Bytes of the web resource, in Base64 format. |
||||||||||||||||||||||||||
| content_binary | Edm.Binary |
Bytes of the web resource, in Base64 format. |
||||||||||||||||||||||||||
| contentfileref | Edm.Binary |
Reference to the content file on Azure. Display Name: ContentFileRef Read Only
|
||||||||||||||||||||||||||
| contentfileref_name | Edm.String |
Read Only
|
||||||||||||||||||||||||||
| contentjson | Edm.String |
Json representation of the content of the resource. |
||||||||||||||||||||||||||
| contentjsonfileref | Edm.Binary |
Reference to the Json content file on Azure. Display Name: ContentJsonFileRef Read Only
|
||||||||||||||||||||||||||
| contentjsonfileref_name | Edm.String |
Read Only
|
||||||||||||||||||||||||||
| createdon | Edm.DateTimeOffset |
Date and time when the web resource was created. Display Name: Created On Read Only
|
||||||||||||||||||||||||||
| dependencyxml | Edm.String |
For internal use only. Display Name: DependencyXML |
||||||||||||||||||||||||||
| description | Edm.String |
Description of the web resource. Display Name: Description |
||||||||||||||||||||||||||
| displayname | Edm.String |
Display name of the web resource. Display Name: Display Name |
||||||||||||||||||||||||||
| introducedversion | Edm.String |
Version in which the form is introduced. Display Name: Introduced Version |
||||||||||||||||||||||||||
| isavailableformobileoffline | Edm.Boolean |
Information that specifies whether this web resource is available for mobile client in offline mode. Display Name: Is Available For Mobile Offline
Default Options
|
||||||||||||||||||||||||||
| iscustomizable | BooleanManagedProperty |
Information that specifies whether this component can be customized. Display Name: Customizable |
||||||||||||||||||||||||||
| isenabledformobileclient | Edm.Boolean |
Information that specifies whether this web resource is enabled for mobile client. Display Name: Is Enabled For Mobile Client
Default Options
|
||||||||||||||||||||||||||
| ishidden | BooleanManagedProperty |
Information that specifies whether this component should be hidden. Display Name: Hidden |
||||||||||||||||||||||||||
| ismanaged | Edm.Boolean |
Read Only
Default Options
|
||||||||||||||||||||||||||
| languagecode | Edm.Int32 |
Language of the web resource. Display Name: Language |
||||||||||||||||||||||||||
| modifiedon | Edm.DateTimeOffset |
Date and time when the web resource was last modified. Display Name: Modified On Read Only
|
||||||||||||||||||||||||||
| name | Edm.String |
Name of the web resource. Display Name: Name |
||||||||||||||||||||||||||
| overwritetime | Edm.DateTimeOffset |
For internal use only. Display Name: Record Overwrite Time Read Only
|
||||||||||||||||||||||||||
| silverlightversion | Edm.String |
Silverlight runtime version number required by a silverlight web resource. Display Name: Silverlight Version |
||||||||||||||||||||||||||
| solutionid | Edm.Guid |
Unique identifier of the associated solution. Display Name: Solution Read Only
|
||||||||||||||||||||||||||
| versionnumber | Edm.Int64 |
Read Only
|
||||||||||||||||||||||||||
| webresourceid | Edm.Guid |
Unique identifier of the web resource. Display Name: Web Resource Identifier |
||||||||||||||||||||||||||
| webresourceidunique | Edm.Guid |
For internal use only. Read Only
|
||||||||||||||||||||||||||
| webresourcetype | Edm.Int32 |
Drop-down list for selecting the type of the web resource. Display Name: Type
Default Options
|
Lookup Properties
Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties.
| Name | Single-valued navigation property | Description |
|---|---|---|
| _createdby_value | createdby |
Unique identifier of the user who created the web resource. |
| _createdonbehalfby_value | createdonbehalfby |
Unique identifier of the delegate user who created the web resource. |
| _modifiedby_value | modifiedby |
Unique identifier of the user who last modified the web resource. |
| _modifiedonbehalfby_value | modifiedonbehalfby |
Unique identifier of the delegate user who modified the web resource. |
| _organizationid_value | organizationid |
Unique identifier of the organization associated with the web resource. |
Single-valued navigation properties
Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.
| Name | Type | Partner |
|---|---|---|
| ContentFileRef | fileattachment | FileAttachment_WebResource_ContentFileRef |
| ContentJsonFileRef | fileattachment | FileAttachment_WebResource_ContentJsonFileRef |
| createdby | systemuser | webresource_createdby |
| createdonbehalfby | systemuser | lk_webresourcebase_createdonbehalfby |
| modifiedby | systemuser | webresource_modifiedby |
| modifiedonbehalfby | systemuser | lk_webresourcebase_modifiedonbehalfby |
| organizationid | organization | webresource_organization |
Collection-valued navigation properties
Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.
| Name | Type | Partner |
|---|---|---|
| appactionrule_webresource_scripts | appactionrule | appactionrule_webresource_scripts |
| lk_theme_logoid | theme | logoimage |
| solution_configuration_webresource | solution | configurationpageid |
| webresource_appaction_iconwebresourceid | appaction | IconWebResourceId |
| webresource_appaction_onclickeventjavascriptwebresourceid | appaction | OnClickEventJavaScriptWebResourceId |
| webresource_FileAttachments | fileattachment | objectid_webresource |
| webresource_savedqueryvisualizations | savedqueryvisualization | webresourceid |
| webresource_userqueryvisualizations | userqueryvisualization | webresourceid |
Operations
The following operations can be used with the webresource entity type.
| Name | Binding |
|---|---|
| RetrieveUnpublished | Entity |
| RetrieveUnpublishedMultiple | Collection |
Solutions
The following solutions include the webresource entity type.
| Name | Description |
|---|---|
| UnifiedClientWebResourceFileType | Unified Client WebResource File Type |
| Power Apps Actions | Power Apps Actions |