編輯

共用方式為


Theme table/entity reference

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

Messages

The following table lists the messages for the Theme 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 /themes
See Create
Create records
Delete
Event: True
DELETE /themes(themeid)
See Delete
Delete records
PublishTheme
Event: True
PublishTheme PublishThemeRequest
Retrieve
Event: True
GET /themes(themeid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: True
GET /themes
See Query data
Query data
Update
Event: True
PATCH /themes(themeid)
See Update
Update records
Upsert
Event: False
PATCH /themes(themeid)
See Upsert a table row
UpsertRequest

Properties

The following table lists selected properties for the Theme table.

Property Value
DisplayName Theme
DisplayCollectionName Themes
SchemaName Theme
CollectionSchemaName Themes
EntitySetName themes
LogicalName theme
LogicalCollectionName themes
PrimaryIdAttribute themeid
PrimaryNameAttribute name
TableType Standard
OwnershipType OrganizationOwned

Writable columns/attributes

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

AccentColor

Property Value
Description Choose the Unified Interface secondary theme color to be used on the process control
DisplayName Accent Color
IsValidForForm True
IsValidForRead True
LogicalName accentcolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

BackgroundColor

Property Value
Description For internal use only.
DisplayName Background Color
IsValidForForm True
IsValidForRead True
LogicalName backgroundcolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

ControlBorder

Property Value
Description Choose the color that controls will use for borders
DisplayName Control Hover Border Color
IsValidForForm True
IsValidForRead True
LogicalName controlborder
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

ControlShade

Property Value
Description Choose the background color for controls to use to indicate when you hover over items
DisplayName Control Hover Fill Color
IsValidForForm True
IsValidForRead True
LogicalName controlshade
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

DefaultCustomEntityColor

Property Value
Description Choose the default custom entity color if no color is assigned
DisplayName Default Custom Entity Color
IsValidForForm True
IsValidForRead True
LogicalName defaultcustomentitycolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

DefaultEntityColor

Property Value
Description Choose the default color for system entities if no color is assigned
DisplayName Default Entity Color
IsValidForForm True
IsValidForRead True
LogicalName defaultentitycolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

GlobalLinkColor

Property Value
Description Choose the color for all links, such as e-mail address and lookup links, and for all buttons that are in focus
DisplayName Link and Button Text Color
IsValidForForm True
IsValidForRead True
LogicalName globallinkcolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

HeaderColor

Property Value
Description Choose the color for title text, such as form tab labels
DisplayName Title Text Color
IsValidForForm True
IsValidForRead True
LogicalName headercolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

HoverLinkEffect

Property Value
Description Choose the color that commands or lists will use to indicate hovered over items
DisplayName Hover Link Color
IsValidForForm True
IsValidForRead True
LogicalName hoverlinkeffect
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

ImportSequenceNumber

Property Value
Description Sequence number of the import that created this record.
DisplayName Import Sequence Number
IsValidForForm False
IsValidForRead True
LogicalName importsequencenumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -2147483648

IsDefaultTheme

Property Value
Description Default status of theme.
DisplayName Default Theme
IsValidForForm True
IsValidForRead True
LogicalName isdefaulttheme
RequiredLevel SystemRequired
Type Boolean
GlobalChoiceName theme_defaultstatus
DefaultValue False
True Label Yes
False Label No

LogoId

Property Value
Description Upload a web resource to use as a logo. Recommended dimensions are a height of 50 pixels and a maximum width of 400 pixels.
DisplayName Logo
IsValidForForm True
IsValidForRead True
LogicalName logoid
RequiredLevel None
Type Lookup
Targets webresource

LogoToolTip

Property Value
Description Enter text that will be used as the tooltip and alt text for the logo.
DisplayName Logo Tooltip
IsValidForForm True
IsValidForRead True
LogicalName logotooltip
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 80

MainColor

Property Value
Description Choose the Unified Interface primary theme color to be used on main command bar, buttons and tabs
DisplayName Main Color
IsValidForForm True
IsValidForRead True
LogicalName maincolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

Name

Property Value
Description The name of the Theme Entity.
DisplayName Theme Name
IsValidForForm True
IsValidForRead True
LogicalName name
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

NavBarBackgroundColor

Property Value
Description Choose the primary Navigation Bar background color
DisplayName Navigation Bar Fill Color
IsValidForForm True
IsValidForRead True
LogicalName navbarbackgroundcolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

NavBarShelfColor

Property Value
Description Choose the secondary Navigation Bar background color
DisplayName Navigation Bar Shelf Fill Color
IsValidForForm True
IsValidForRead True
LogicalName navbarshelfcolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

OverriddenCreatedOn

Property Value
Description Date and time that the record was migrated.
DisplayName Record Created On
IsValidForForm False
IsValidForRead True
LogicalName overriddencreatedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

PageHeaderBackgroundColor

Property Value
Description Choose the page header background color
DisplayName Page Header Fill Color
IsValidForForm True
IsValidForRead True
LogicalName pageheaderbackgroundcolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

PanelHeaderBackgroundColor

Property Value
Description Choose the panel header background color
DisplayName Panel Header Fill Color
IsValidForForm True
IsValidForRead True
LogicalName panelheaderbackgroundcolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

ProcessControlColor

Property Value
Description Choose the primary background color for process controls
DisplayName Legacy Accent Color
IsValidForForm True
IsValidForRead True
LogicalName processcontrolcolor
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

SelectedLinkEffect

Property Value
Description Choose the color that commands or lists will use to indicate selected items
DisplayName Selected Link Color
IsValidForForm True
IsValidForRead True
LogicalName selectedlinkeffect
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 7

statuscode

Property Value
Description Reason for the status of the Theme
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel None
Type Status
DefaultFormValue
GlobalChoiceName theme_statuscode

statuscode Choices/Options

Value Details
1 Label: Custom
State:0
TransitionData: None
2 Label: System
State:1
TransitionData: None

ThemeId

Property Value
Description Unique identifier for entity instances
DisplayName Theme
IsValidForForm False
IsValidForRead True
LogicalName themeid
RequiredLevel SystemRequired
Type Uniqueidentifier

TimeZoneRuleVersionNumber

Property Value
Description For internal use only.
DisplayName Time Zone Rule Version Number
IsValidForForm False
IsValidForRead True
LogicalName timezoneruleversionnumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

TransactionCurrencyId

Property Value
Description Exchange rate for the currency associated with the Theme with respect to the base currency.
DisplayName Currency
IsValidForForm True
IsValidForRead True
LogicalName transactioncurrencyid
RequiredLevel None
Type Lookup
Targets transactioncurrency

Type

Property Value
Description Define type of theme.
DisplayName Type
IsValidForForm True
IsValidForRead True
LogicalName type
RequiredLevel SystemRequired
Type Boolean
GlobalChoiceName theme_type
DefaultValue True
True Label Custom
False Label System

UTCConversionTimeZoneCode

Property Value
Description Time zone code that was in use when the record was created.
DisplayName UTC Conversion Time Zone Code
IsValidForForm False
IsValidForRead True
LogicalName utcconversiontimezonecode
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

Read-only columns/attributes

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

CreatedBy

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

CreatedOn

Property Value
Description Date and time when the record 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 record.
DisplayName Created By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

ExchangeRate

Property Value
Description Exchange rate for the currency associated with the Theme with respect to the base currency.
DisplayName ExchangeRate
IsValidForForm True
IsValidForRead True
LogicalName exchangerate
RequiredLevel None
Type Decimal
ImeMode Disabled
MaxValue 100000000000
MinValue 1E-12
Precision 12
SourceTypeMask 0

ModifiedBy

Property Value
Description Unique identifier of the user who modified the record.
DisplayName Modified By
IsValidForForm True
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedOn

Property Value
Description Date and time when the record was 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 record.
DisplayName Modified By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

OrganizationId

Property Value
Description Unique identifier for the organization
DisplayName Organization Id
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel None
Type Lookup
Targets organization

statecode

Property Value
Description Status of the Theme
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State
DefaultFormValue
GlobalChoiceName theme_statecode

statecode Choices/Options

Value Details
0 Label: Custom
DefaultStatus: 1
InvariantName: Active
1 Label: System
DefaultStatus: 2
InvariantName: Inactive

VersionNumber

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

Many-to-One relationships

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

lk_theme_createdby

One-To-Many Relationship: systemuser lk_theme_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

lk_theme_createdonbehalfby

One-To-Many Relationship: systemuser lk_theme_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_theme_logoid

One-To-Many Relationship: webresource lk_theme_logoid

Property Value
ReferencedEntity webresource
ReferencedAttribute webresourceid
ReferencingAttribute logoid
ReferencingEntityNavigationPropertyName logoimage
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Restrict
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_theme_modifiedby

One-To-Many Relationship: systemuser lk_theme_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

lk_theme_modifiedonbehalfby

One-To-Many Relationship: systemuser lk_theme_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

organization_theme

One-To-Many Relationship: organization organization_theme

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

TransactionCurrency_Theme

One-To-Many Relationship: transactioncurrency TransactionCurrency_Theme

Property Value
ReferencedEntity transactioncurrency
ReferencedAttribute transactioncurrencyid
ReferencingAttribute transactioncurrencyid
ReferencingEntityNavigationPropertyName transactioncurrencyid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Restrict
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

One-to-Many relationships

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

theme_AsyncOperations

Many-To-One Relationship: asyncoperation theme_AsyncOperations

Property Value
ReferencingEntity asyncoperation
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName theme_AsyncOperations
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

theme_BulkDeleteFailures

Many-To-One Relationship: bulkdeletefailure theme_BulkDeleteFailures

Property Value
ReferencingEntity bulkdeletefailure
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName theme_BulkDeleteFailures
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

theme_ProcessSession

Many-To-One Relationship: processsession theme_ProcessSession

Property Value
ReferencingEntity processsession
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName theme_ProcessSession
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference
theme