CommentBody |
- Type
- textarea
- Properties
-
Create, Filter, Sort, Update
- Description
- The text in the comment.
|
|
- Type
- reference
- Properties
-
Create, Filter, Group, Nillable, Restricted picklist, Sort
- Description
- The type of comment:
-
ContentComment—an uploaded
file on a comment
-
TextComment—a direct text
entry on a comment
|
FeedItemId |
- Type
- reference
- Properties
-
Create, Filter, Group, Sort
- Description
- ID of the feed containing the comment.
|
HasEntityLinks |
- Type
- boolean
- Properties
-
Defaulted on create, Filter, Group, Sort
- Description
- Indicates whether the feed CommentBody includes at
least one link to a record.

Note
This field is available starting in API
version 43.0.
|
InsertedById |
- Type
- reference
- Properties
-
Filter, Group, Sort
- Description
- ID of the user who added this object to the feed.
For example, if an application migrates posts and comments from another
application into a feed, the InsertedBy value is set to
the ID of the logged-in user.
|
IsRichText |
- Type
- boolean
- Properties
-
Create, Defaulted on create, Filter, Group, Sort, Update
- Description
-
Indicates whether the feed
CommentBody contains rich text. Set
IsRichText to true
if you post a rich text feed comment using the SOAP API. Otherwise, the
comment is rendered as plain text.
Rich text supports the following HTML
tags:

Note
This attribute is available as of API version 38.0. In API version
38.0 and later, the system replaces special characters in rich text with
escaped HTML. In API version 37.0 and prior, all rich text appears as a
plain-text representation.
|
IsVerified |
- Type
- boolean
- Properties
-
Defaulted on
create, Filter,
Group, Sort
- Description
- Determines whether a comment on a question is marked as Company
Verified.
This field is available in API version 41.0 and later.
|
LastEditById |
- Type
- reference
- Properties
-
Create, Filter, Group, Nillable, Sort
- Description
- ID of the user who last edited the feed comment.
|
LastEditDate |
- Type
- datetime
- Properties
-
Create, Filter, Nillable, Sort
- Description
- The date the feed comment was last edited.
|
ParentId |
- Type
- reference
- Properties
-
Filter, Group, Nillable, Sort
- Description
- ID of a record associated with the feed comment. For example, if you are
commenting on a change to a field on Account, ParentId
is set to the account ID.
|
RelatedRecordId |
- Type
- reference
- Properties
-
Create, Group, Nillable, Sort
- Description
-
ID of the ContentVersion object associated with a ContentComment. This field is null for all comments except
ContentComment.
For
example, set this field to an existing ContentVersion and post it to a comment as a FeedComment object
of CommentTypeContentComment.
|
Revision |
- Type
- int
- Properties
-
Create, Filter, Group, Nillable, Sort
- Description
- The number of times the comment was revised.
|
Status |
- Type
- picklist
- Properties
-
Create,
Group, Nillable, Restricted picklist, Sort, Update
- Description
- Specifies whether this feed comment is published and visible to all who have
access to the parent feed item. To make changes to a comment’s status, the
comment’s parent feed item must be in a published state. This field is
available in API version 38.0 and later.
- Possible values are:
-
Published—The comment is
visible to all who have access to the parent feed item.
-
PendingReview—The comment is
visible to its author and to users who can see the parent feed item and
have “ViewAllData” or “CanApproveFeedPostAndComment” permission. The
comment can be deleted by its author and users who can see the comment and
have "CanApproveFeedPostAndComment" or "ModifyAllData" permission. If the
parent feed item is published, the comment can be edited by its author and
users who can see the comment and have "CanApproveFeedPostAndComment" or
"ModifyAllData" permission. Comment status can be changed from Published
to PendingReview and from PendingReview to Published by users who have
"CanApproveFeedPostAndComment" or "ModifyAllData" permission.
Some
actions are blocked when a feed comment is pending review:
- Select as Best—When a feed comment that is marked as best
answer becomes unpublished, it’s removed as the best answer. If the
comment is published, its best answer status is not restored.
- Like and unlike
|
SystemModstamp |
- Type
- dateTime
- Properties
-
Defaulted on create, Filter
- Description
- Date and time when a user or automated process (such as a
trigger) last modified this record.
SystemModstamp is a read-only system field,
available in FeedComment as of API version 37.0.
|