編輯

共用方式為


Web Template (mspp_webtemplate) table/entity reference

Messages

The following table lists the messages for the Web Template (mspp_webtemplate) 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 /mspp_webtemplates
See Create
Create records
CreateMultiple
Event: True
CreateMultiple CreateMultipleRequest
Delete
Event: True
DELETE /mspp_webtemplates(mspp_webtemplateid)
See Delete
Delete records
Retrieve
Event: True
GET /mspp_webtemplates(mspp_webtemplateid)
See Retrieve
Retrieve records
RetrieveEntityChanges
Event: True
RetrieveEntityChangesRequest
RetrieveMultiple
Event: True
GET /mspp_webtemplates
See Query data
Query data
Update
Event: True
PATCH /mspp_webtemplates(mspp_webtemplateid)
See Update
Update records
UpdateMultiple
Event: True
UpdateMultiple UpdateMultipleRequest
Upsert
Event: False
PATCH /mspp_webtemplates(mspp_webtemplateid)
See Upsert a table row
UpsertRequest
UpsertMultiple
Event: False
UpsertMultiple UpsertMultipleRequest

Events

The following table lists the events for the Web Template (mspp_webtemplate) table. Events are messages that exist so that you can subscribe to them. Unless you added the event, you shouldn't invoke the message, only subscribe to it.

Name Web API Operation SDK for .NET
BulkRetain BulkRetain Learn to use messages with the SDK for .NET
PurgeRetainedContent PurgeRetainedContent Learn to use messages with the SDK for .NET
Retain Retain Learn to use messages with the SDK for .NET
RollbackRetain RollbackRetain Learn to use messages with the SDK for .NET
ValidateRetentionConfig ValidateRetentionConfig Learn to use messages with the SDK for .NET

Properties

The following table lists selected properties for the Web Template (mspp_webtemplate) table.

Property Value
DisplayName Web Template
DisplayCollectionName Web Templates
SchemaName mspp_webtemplate
CollectionSchemaName mspp_webtemplates
EntitySetName mspp_webtemplates
LogicalName mspp_webtemplate
LogicalCollectionName mspp_webtemplates
PrimaryIdAttribute mspp_webtemplateid
PrimaryNameAttribute mspp_name
TableType Virtual
OwnershipType OrganizationOwned

Writable columns/attributes

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

mspp_createdby

Property Value
Description Shows who created the record.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName mspp_createdby
RequiredLevel None
Type Lookup
Targets systemuser

mspp_createdon

Property Value
Description Shows the date and time when the record was created.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName mspp_createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior True
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

mspp_mimetype

Property Value
Description Shows the MIME type of the web template content.
DisplayName MIME Type
IsValidForForm True
IsValidForRead True
LogicalName mspp_mimetype
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 256

mspp_modifiedby

Property Value
Description Shows who last updated the record.
DisplayName Modified By
IsValidForForm True
IsValidForRead True
LogicalName mspp_modifiedby
RequiredLevel None
Type Lookup
Targets systemuser

mspp_modifiedon

Property Value
Description Shows the date and time when the record was modified.
DisplayName Modified On
IsValidForForm True
IsValidForRead True
LogicalName mspp_modifiedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior True
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

mspp_name

Property Value
Description The name of the custom entity.
DisplayName Name
IsValidForForm True
IsValidForRead True
LogicalName mspp_name
RequiredLevel ApplicationRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

mspp_source

Property Value
Description
DisplayName Source
IsValidForForm True
IsValidForRead True
LogicalName mspp_source
RequiredLevel None
Type Memo
Format Text
FormatName Text
ImeMode Disabled
IsLocalizable False
MaxLength 1048576

mspp_websiteid

Property Value
Description Unique identifier for Website associated with Web Template
DisplayName Website
IsValidForForm True
IsValidForRead True
LogicalName mspp_websiteid
RequiredLevel ApplicationRequired
Type Lookup
Targets mspp_website

mspp_webtemplateId

Property Value
Description Unique identifier for entity instances
DisplayName Web Template
IsValidForForm False
IsValidForRead True
LogicalName mspp_webtemplateid
RequiredLevel SystemRequired
Type Uniqueidentifier

statecode

Property Value
Description Status of the Web Template
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State
DefaultFormValue
GlobalChoiceName mspp_webtemplate_statecode

statecode Choices/Options

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

statuscode

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

statuscode Choices/Options

Value Details
1 Label: Active
State:0
TransitionData: None
2 Label: Inactive
State:1
TransitionData: None

Many-to-One relationships

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

mspp_systemuser_mspp_webtemplate_createdby

One-To-Many Relationship: systemuser mspp_systemuser_mspp_webtemplate_createdby

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

mspp_systemuser_mspp_webtemplate_modifiedby

One-To-Many Relationship: systemuser mspp_systemuser_mspp_webtemplate_modifiedby

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

mspp_website_mspp_webtemplate

One-To-Many Relationship: mspp_website mspp_website_mspp_webtemplate

Property Value
ReferencedEntity mspp_website
ReferencedAttribute mspp_websiteid
ReferencingAttribute mspp_websiteid
ReferencingEntityNavigationPropertyName mspp_websiteid
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.

mspp_webtemplate_adplacement

Many-To-One Relationship: mspp_adplacement mspp_webtemplate_adplacement

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

mspp_webtemplate_pagetemplate

Many-To-One Relationship: mspp_pagetemplate mspp_webtemplate_pagetemplate

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

mspp_webtemplate_pollplacement

Many-To-One Relationship: mspp_pollplacement mspp_webtemplate_pollplacement

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

Many-To-One Relationship: mspp_website mspp_webtemplate_website_footer

Property Value
ReferencingEntity mspp_website
ReferencingAttribute mspp_footerwebtemplateid
ReferencedEntityNavigationPropertyName mspp_webtemplate_website_footer
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseLabel
Group: Details
Label: Websites (Footer)
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

mspp_webtemplate_website_header

Many-To-One Relationship: mspp_website mspp_webtemplate_website_header

Property Value
ReferencingEntity mspp_website
ReferencingAttribute mspp_headerwebtemplateid
ReferencedEntityNavigationPropertyName mspp_webtemplate_website_header
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseLabel
Group: Details
Label: Websites (Header)
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference
mspp_webtemplate