Partajați prin


webresource EntityType

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Description: 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/v8.2/webresourceset

Base Type: crmbaseentity EntityType

Display Name: Web Resource

Primary Key: webresourceid

Primary Name Attribute: name

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations bound to webresource

Operations using the webresource entity type.

Properties

Properties represent fields of data stored in the entity. Some properties are read-only.

Name

Type

Details

canbedeleted

BooleanManagedProperty ComplexType

Description: Information that specifies whether this component can be deleted.

Display Name: Can Be Deleted

componentstate

Edm.Int32

Description: For internal use only.

Default Options:

0 : Published
1 : Unpublished
2 : Deleted
3 : Deleted Unpublished

Display Name: Component State

Read-only property

content

Edm.String

Description: Bytes of the web resource, in Base64 format.

content_binary

Edm.Binary

Description: Bytes of the web resource, in Base64 format.

createdon

Edm.DateTimeOffset

Description: Date and time when the web resource was created.

Display Name: Created On

Read-only property

dependencyxml

Edm.String

Description: For internal use only.

Display Name: DependencyXML

description

Edm.String

Description: Description of the web resource.

Display Name: Description

displayname

Edm.String

Description: Display name of the web resource.

Display Name: Display Name

introducedversion

Edm.String

Description: Version in which the form is introduced.

Display Name: Introduced Version

isavailableformobileoffline

Edm.Boolean

Description: Information that specifies whether this web resource is available for mobile client in offline mode.

Default Options:

1 : Yes
0 : No

Display Name: Is Available For Mobile Offline

iscustomizable

BooleanManagedProperty ComplexType

Description: Information that specifies whether this component can be customized.

Display Name: Customizable

isenabledformobileclient

Edm.Boolean

Description: Information that specifies whether this web resource is enabled for mobile client.

Default Options:

1 : Yes
0 : No

Display Name: Is Enabled For Mobile Client

ishidden

BooleanManagedProperty ComplexType

Description: Information that specifies whether this component should be hidden.

Display Name: Hidden

ismanaged

Edm.Boolean

Description:

Default Options:

1 : Managed
0 : Unmanaged

Read-only property

languagecode

Edm.Int32

Description: Language of the web resource.

Display Name: Language

modifiedon

Edm.DateTimeOffset

Description: Date and time when the web resource was last modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the web resource.

Display Name: Name

overwritetime

Edm.DateTimeOffset

Description: For internal use only.

Display Name: Record Overwrite Time

Read-only property

silverlightversion

Edm.String

Description: Silverlight runtime version number required by a silverlight web resource.

Display Name: Silverlight Version

solutionid

Edm.Guid

Description: Unique identifier of the associated solution.

Display Name: Solution

Read-only property

versionnumber

Edm.Int64

Description:

Read-only property

webresourceid

Edm.Guid

Description: Unique identifier of the web resource.

Display Name: Web Resource Identifier

webresourceidunique

Edm.Guid

Description: For internal use only.

Read-only property

webresourcetype

Edm.Int32

Description: Drop-down list for selecting the type of the web resource.

Default Options:

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

Display Name: Type

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

createdby

systemuser EntityType

webresource_createdby

createdonbehalfby

systemuser EntityType

lk_webresourcebase_createdonbehalfby

modifiedby

systemuser EntityType

webresource_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_webresourcebase_modifiedonbehalfby

organizationid

organization EntityType

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

lk_theme_logoid

theme EntityType

logoimage

solution_configuration_webresource

solution EntityType

configurationpageid

webresource_savedqueryvisualizations

savedqueryvisualization EntityType

webresourceid

webresource_userqueryvisualizations

userqueryvisualization EntityType

webresourceid

Operations bound to webresource

The following operations are bound to the webresource entity type.

Name

Bound to

RetrieveUnpublishedMultiple Function

Collection

Operations using the webresource entity type.

The following operations use the webresource entity type in a parameter or return type.

Name

How used

Description

RetrieveUnpublishedMultiple Function

entityset Parameter

Retrieves a collection of unpublished organization-owned records that satisfy the specified query criteria.

RetrieveUnpublishedMultiple Function

ReturnType

Retrieves a collection of unpublished organization-owned records that satisfy the specified query criteria.

See Also

Use the Microsoft Dynamics 365 Web API
Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright