Comment (PostComment) table/entity reference

Note

Unsure about table vs. entity? See Developers: Understand terminology in Microsoft Dataverse.

A comment on an activity feed post.

Messages

Message Web API Operation SDK class or method
Create POST /postcomments
See Create
CreateRequest or
Create
Delete DELETE /postcomments(postcommentid)
See Delete
DeleteRequest or
Delete
Retrieve GET /postcomments(postcommentid)
See Retrieve
RetrieveRequest or
Retrieve
RetrieveMultiple GET /postcomments
See Query Data
RetrieveMultipleRequest or
RetrieveMultiple

Properties

Property Value
CollectionSchemaName PostComments
DisplayCollectionName Comments
DisplayName Comment
EntitySetName postcomments
IsBPFEntity False
LogicalCollectionName postcomments
LogicalName postcomment
OwnershipType OrganizationOwned
PrimaryIdAttribute postcommentid
PrimaryNameAttribute text
SchemaName PostComment

Writable columns/attributes

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

LargeText

Added by: Activities Patch Solution

Property Value
Description Shows the text of a post comment.
DisplayName Text
Format Email
IsLocalizable False
IsValidForForm True
IsValidForRead True
IsValidForUpdate False
LogicalName largetext
MaxLength 1073741823
RequiredLevel ApplicationRequired
Type Memo

PostCommentId

Property Value
Description Shows the ID of the post comment.
DisplayName PostComment
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName postcommentid
RequiredLevel SystemRequired
Type Uniqueidentifier

PostId

Property Value
Description Unique identifier of the post with which the comment is associated.
DisplayName Post
IsValidForForm True
IsValidForRead True
IsValidForUpdate False
LogicalName postid
RequiredLevel SystemRequired
Targets post
Type Lookup

Text

Property Value
Description Text of the comment.
DisplayName Text
FormatName Text
IsLocalizable False
IsValidForForm True
IsValidForRead True
IsValidForUpdate False
LogicalName text
MaxLength 1000
RequiredLevel ApplicationRequired
Type String

TimeZoneRuleVersionNumber

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

UTCConversionTimeZoneCode

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

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate or 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
Targets systemuser
Type Lookup

CreatedByName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyname
MaxLength 100
RequiredLevel None
Type String

CreatedByYomiName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyyominame
MaxLength 100
RequiredLevel None
Type String

CreatedOn

Property Value
DateTimeBehavior UserLocal
Description Date and time when the record was created.
DisplayName Created On
Format DateAndTime
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel SystemRequired
Type DateTime

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
Targets systemuser
Type Lookup

CreatedOnBehalfByName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

CreatedOnBehalfByYomiName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

OrganizationId

Property Value
Description Unique identifier of the organization associated with the solution.
DisplayName Organization
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel SystemRequired
Targets organization
Type Lookup

OrganizationIdName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName organizationidname
MaxLength 100
RequiredLevel SystemRequired
Type String

PostIdName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName postidname
MaxLength 100
RequiredLevel None
Type String

One-To-Many Relationships

Listed by SchemaName.

post_comment_activity_file_attachment

Added by: Activities Patch Solution

Same as the post_comment_activity_file_attachment many-to-one relationship for the activityfileattachment table/entity.

Property Value
ReferencingEntity activityfileattachment
ReferencingAttribute parentid
IsHierarchical False
IsCustomizable False
ReferencedEntityNavigationPropertyName post_comment_activity_file_attachment
AssociatedMenuConfiguration Behavior: DoNotDisplay
Group: Details
Label:
Order:
CascadeConfiguration Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

Many-To-One Relationships

Each Many-To-One relationship is defined by a corresponding One-To-Many relationship with the related table. Listed by SchemaName.

lk_postcomment_createdby

See the lk_postcomment_createdby one-to-many relationship for the systemuser table/entity.

organization_PostComment

See the organization_PostComment one-to-many relationship for the organization table/entity.

lk_postcomment_createdonbehalfby

See the lk_postcomment_createdonbehalfby one-to-many relationship for the systemuser table/entity.

Post_Comments

See the Post_Comments one-to-many relationship for the post table/entity.

See also

Dataverse table/entity reference
Web API Reference
postcomment EntityType