編輯

共用方式為


Content Snippet (mspp_contentsnippet) table/entity reference

Content snippets are inserted in page templates so that any label, text string or image in the template can be content-managed.

Messages

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

Events

The following table lists the events for the Content Snippet (mspp_contentsnippet) 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 Content Snippet (mspp_contentsnippet) table.

Property Value
DisplayName Content Snippet
DisplayCollectionName Content Snippets
SchemaName mspp_contentsnippet
CollectionSchemaName mspp_contentsnippets
EntitySetName mspp_contentsnippets
LogicalName mspp_contentsnippet
LogicalCollectionName mspp_contentsnippets
PrimaryIdAttribute mspp_contentsnippetid
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_contentsnippetId

Property Value
Description Unique identifier for entity instances
DisplayName Content Snippet
IsValidForForm False
IsValidForRead True
LogicalName mspp_contentsnippetid
RequiredLevel SystemRequired
Type Uniqueidentifier

mspp_contentsnippetlanguageid

Property Value
Description Option to make content snippets language specific
DisplayName Content Snippet Language
IsValidForForm True
IsValidForRead True
LogicalName mspp_contentsnippetlanguageid
RequiredLevel None
Type Lookup
Targets mspp_websitelanguage

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_createdbyipaddress

Property Value
Description
DisplayName Created By IP Address
IsValidForForm True
IsValidForRead True
LogicalName mspp_createdbyipaddress
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

mspp_createdbyusername

Property Value
Description
DisplayName Created By Username
IsValidForForm True
IsValidForRead True
LogicalName mspp_createdbyusername
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

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_display_name

Property Value
Description Stores the label that is shown on the user interface (UI) in the data editing mode.
DisplayName Display Name
IsValidForForm True
IsValidForRead True
LogicalName mspp_display_name
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 250

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_modifiedbyipaddress

Property Value
Description
DisplayName Modified By IP Address
IsValidForForm True
IsValidForRead True
LogicalName mspp_modifiedbyipaddress
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

mspp_modifiedbyusername

Property Value
Description
DisplayName Modified By Username
IsValidForForm True
IsValidForRead True
LogicalName mspp_modifiedbyusername
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

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_type

Property Value
Description
DisplayName Type
IsValidForForm True
IsValidForRead True
LogicalName mspp_type
RequiredLevel None
Type Picklist
DefaultFormValue 756150000
GlobalChoiceName mspp_contentsnippet_mspp_type

mspp_type Choices/Options

Value Label
756150000 Text
756150001 HTML

mspp_value

Property Value
Description
DisplayName Value
IsValidForForm True
IsValidForRead True
LogicalName mspp_value
RequiredLevel Recommended
Type Memo
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 1048576

mspp_websiteid

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

statecode

Property Value
Description Status of the Content Snippet
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State
DefaultFormValue
GlobalChoiceName mspp_contentsnippet_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 Content Snippet
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel None
Type Status
DefaultFormValue
GlobalChoiceName mspp_contentsnippet_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_contentsnippet_createdby

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

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

One-To-Many Relationship: mspp_website mspp_website_contentsnippet

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

mspp_websitelanguage_contentsnippet_contentsnippetlanguageid

One-To-Many Relationship: mspp_websitelanguage mspp_websitelanguage_contentsnippet_contentsnippetlanguageid

Property Value
ReferencedEntity mspp_websitelanguage
ReferencedAttribute mspp_websitelanguageid
ReferencingAttribute mspp_contentsnippetlanguageid
ReferencingEntityNavigationPropertyName mspp_contentsnippetlanguageid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

See also

Dataverse table/entity reference
Dataverse Web API Reference
mspp_contentsnippet