| Body |
- Type
- textarea
- Properties
- Nillable, Sort
- Description
- The content of the FeedItem. Required when Type is TextPost.
Optional when Type is ContentPost or LinkPost.
This is the message that appears in the feed.
|
| CommentCount |
- Type
- int
- Properties
- Filter, Group, Sort
- Description
The number of FeedComments associated with this feed item.
|
| ContentData |
- Type
- base64
- Properties
- Nillable
- Description
The file uploaded to the feed. Required if Type is ContentPost. Encoded
file data. Cannot be 0 bytes. Can be any format. Setting this field
automatically sets Type to ContentPost.
|
| ContentDescription |
- Type
- textarea
- Properties
- Nillable, Sort
- Description
The description of the file specified in ContentData.
|
| ContentFileName |
- Type
- string
- Properties
- Group, Nillable, Sort
- Description
The file uploaded to the feed. Required if Type is ContentPost. The
name of the file uploaded to the feed. Setting ContentFileName automatically
sets Type to ContentPost.
|
| ContentSize |
- Type
- int
- Properties
- Group, Nillable, Sort
- Description
Read only. Automatically determined during insert. The size
of the file (in bytes) uploaded to the feed.
|
| ContentType |
- Type
- string
- Properties
- Group, Nillable, Sort
- Description
Read only. Automatically determined during insert. The MIME
type of the file uploaded to the feed.
|
| InsertedById |
- Type
- reference
- Properties
- Group, Nillable, Sort
- Description
ID of the user who added this object to the feed. For example,
if a client application migrates multiple posts and comments from
another application into a feed, then InsertedById is set
to the ID of the logged-in user.
|
| LikeCount |
- Type
- int
- Properties
- Filter, Group, Sort
- Description
The number of FeedLikes associated with this feed item.
|
| LinkUrl |
- Type
- url
- Properties
- Nillable, Sort
- Description
The URL of a LinkPost.
|
| NetworkScope |
- Type
- picklist
- Properties
- Group, Nillable, Restricted picklist, Sort
- Description
- Specifies whether this feed item is
available in the default community, a specific community, or all communities. If Salesforce Communities is enabled for your organization, this field is available in API version
28.0 and later.
NetworkScope can have the following values:
- NetworkId—The ID of the community in which the FeedItem is available. If left empty, the feed
item is only available in the default community.
- AllNetworks—The feed
item is available in all communities.
Note the following exceptions
for NetworkScope:
- Only feed items with a Group or User parent can set a NetworkId or a null value for NetworkScope.
- For feed items with a record parent, users can set NetworkScope only to AllNetworks.
- You can’t filter a FeedItem on the NetworkScope field.
|
| ParentId |
- Type
- reference
- Properties
- Filter, Group, Sort
- Description
ID of the goal record that is tracked in the feed. The
feed is displayed on the detail page for this record.
|
| RelatedRecordId |
- Type
- reference
- Properties
- Group, Nillable, Sort
- Description
ID of the ContentVersion object associated with a ContentPost.
This field is null for all posts except ContentPost.
For
example, set this field to an existing ContentVersion and
post it to a feed as a FeedItem object of TypeContentPost.
|
| Title |
- Type
- string
- Properties
- Group, Nillable, Sort
- Description
The title of the FeedItem. When the Type is LinkPost,
the LinkUrl is the URL and this field is the link name.
|
| Type |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- The type of feed item. With the exception of ContentPost, LinkPost, and TextPost, feed item types should not be created directly from the API
ActivityEvent—indirectly
generated event when a user or the API adds
a Task associated with a feed-enabled parent
record (excluding email tasks on cases). Also occurs when a user or
the API adds or updates a Task or Event associated with a case record (excluding
email and call logging).
For a recurring Task with CaseFeed disabled, one event is generated for the
series only. For a recurring Task with CaseFeed enabled, events are generated for the
series and each occurrence.
- AdvancedTextPost—created
when a user posts a group announcement.
- AnnouncementPost—Not
used.
- ApprovalPost—generated
when a user submits an approval.
- BasicTemplateFeedItem—Not
used.
- CanvasPost—a post
made by a canvas app posts on a feed.
- CollaborationGroupCreated—generated when a user creates a public group.
- CollaborationGroupUnarchived—Not used.
- ContentPost—a post
with an attached file.
- CreatedRecordEvent—generated
when a user creates a record from the publisher.
- DashboardComponentAlert—generated
when a dashboard metric or gauge exceeds a user-defined threshold.
- DashboardComponentSnapshot—created when a user posts a dashboard snapshot on a feed.
- LinkPost—a post with
an attached URL.
- PollPost—a poll posted
on a feed.
- ProfileSkillPost—generated
when a skill is added to a user’s Chatter profile.
- QuestionPost—generated
when a user posts a question.
- ReplyPost—generated
when Chatter Answers posts a reply.
- RypplePost—generated
when a user creates a Thanks badge in Work.com.
- TextPost—a direct
text entry on a feed.
- TrackedChange—a change or group of changes to a tracked field.
- UserStatus—automatically
generated when a user adds a post. Deprecated.
The following values appear in
the Type picklist for all feed objects but apply
only to CaseFeed:
- AttachArticleEvent—generated
event when a user attaches an article to a case.
- CallLogPost—generated
event when a user logs a call for a case through the user interface.
This event is also generated by CTI calls.
- CaseCommentPost—generated
event when a user adds a case comment for a case object.
- ChangeStatusPost—generated
event when a user changes the status of a case.
- ChatTranscriptPost—generated
event when Live Agent transcript is saved to a case.
- EmailMessageEvent—generated
event when an email related to a case object is sent or received.
- FacebookPost—generated
when a Facebook post is created from a case. Deprecated.
- MilestoneEvent—generated
when a case milestone is completed or reaches violation status.
- SocialPost—generated
when a social post is created from a case.
|
| Visibility |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- The visibility of a FeedItem:
- AllUsers: visible to all users
- InternalUsers: visible to internal users
|