Поделиться через


theme EntityType

 

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

Description: Information that's used to set custom visual theme options for client applications.

Entity Set path:[organization URI]/api/data/v8.2/themes

Base Type: crmbaseentity EntityType

Display Name: Theme

Primary Key: themeid

Primary Name Attribute: name

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations bound to theme

Operations using the theme entity type.

Properties

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

Name

Type

Details

backgroundcolor

Edm.String

Description: For internal use only.

Display Name: Background Color

controlborder

Edm.String

Description: Choose the color that controls will use for borders

Display Name: Control Border

controlshade

Edm.String

Description: Choose the color for controls to use to indicate when you hover over items

Display Name: Control Shade

createdon

Edm.DateTimeOffset

Description: Date and time when the record was created.

Display Name: Created On

Read-only property

defaultcustomentitycolor

Edm.String

Description: Choose the default custom entity color if no color is assigned

Display Name: Default Custom Entity Color

defaultentitycolor

Edm.String

Description: Choose the default color for system entities if no color is assigned

Display Name: Default Entity Color

exchangerate

Edm.Decimal

Description: Exchange rate for the currency associated with the Theme with respect to the base currency.

Display Name: ExchangeRate

Read-only property

globallinkcolor

Edm.String

Description: Choose the color for links, such as email addresses or lookups

Display Name: Global Link Color

headercolor

Edm.String

Description: Choose the color for header text, such as form tab labels

Display Name: Header Color

hoverlinkeffect

Edm.String

Description: Choose the color that commands or lists will use when you hover over the items

Display Name: Hover Link Effect

importsequencenumber

Edm.Int32

Description: Sequence number of the import that created this record.

Display Name: Import Sequence Number

isdefaulttheme

Edm.Boolean

Description: Default status of theme.

Default Options:

1 : Yes
0 : No

Display Name: Default Theme

logotooltip

Edm.String

Description: Enter text that will be used as the tooltip and alt text for the logo.

Display Name: Logo Tooltip

modifiedon

Edm.DateTimeOffset

Description: Date and time when the record was modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: The name of the Theme Entity.

Display Name: Theme Name

navbarbackgroundcolor

Edm.String

Description: Choose the primary Navigation Bar color

Display Name: Navigation Bar Color

navbarshelfcolor

Edm.String

Description: Choose the secondary Navigation Bar color

Display Name: Navigation Bar Shelf Color

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

processcontrolcolor

Edm.String

Description: Choose the primary color for process controls

Display Name: Accent Color for Mobile Client

selectedlinkeffect

Edm.String

Description: Choose the color that commands or lists will use to indicate selected items

Display Name: Selected Link Effect

statecode

Edm.Int32

Description: Status of the Theme

Default Options:

0 : Custom
1 : System

Display Name: Status

Read-only property

statuscode

Edm.Int32

Description: Reason for the status of the Theme

Default Options:

1 : Custom
2 : System

Display Name: Status Reason

themeid

Edm.Guid

Description: Unique identifier for entity instances

Display Name: Theme

timezoneruleversionnumber

Edm.Int32

Description: For internal use only.

Display Name: Time Zone Rule Version Number

type

Edm.Boolean

Description: Define type of theme.

Default Options:

1 : Custom
0 : System

Display Name: Type

utcconversiontimezonecode

Edm.Int32

Description: Time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber

Edm.Int64

Description:

Read-only property

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 record.

_createdonbehalfby_value

createdonbehalfby

Unique identifier of the delegate user who created the record.

_logoid_value

logoimage

Upload a web resource to use as a logo. Recommended dimensions are a height of 50 pixels and a maximum width of 400 pixels.

_modifiedby_value

modifiedby

Unique identifier of the user who modified the record.

_modifiedonbehalfby_value

modifiedonbehalfby

Unique identifier of the delegate user who modified the record.

_organizationid_value

organizationid

Unique identifier for the organization

_transactioncurrencyid_value

transactioncurrencyid

Exchange rate for the currency associated with the Theme with respect to the base currency.

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

lk_theme_createdby

createdonbehalfby

systemuser EntityType

lk_theme_createdonbehalfby

logoimage

webresource EntityType

lk_theme_logoid

modifiedby

systemuser EntityType

lk_theme_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_theme_modifiedonbehalfby

organizationid

organization EntityType

organization_theme

transactioncurrencyid

transactioncurrency EntityType

TransactionCurrency_Theme

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

theme_AsyncOperations

asyncoperation EntityType

regardingobjectid_theme

theme_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_theme

Operations bound to theme

The following operations are bound to the theme entity type.

Name

Bound to

PublishTheme Action

Entity

Operations using the theme entity type.

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

Name

How used

Description

PublishTheme Action

entity Parameter

Publishes a theme and set it as the current theme.

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