Newer Version Available
StandardObjectNameFeed
The object name is variable and uses StandardObjectNameFeed syntax. For example, AccountFeed represents the posts and feed-tracked changes on an account record. We list the available associated feed objects at the end of this topic. For specific version information, see the documentation for the standard object.
Supported Calls
delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
Special Access Rules
In the internal org, users can delete all feed items they created. This rule varies in communities where threaded discussions and delete-blocking are enabled. Community members can delete all feed items they created, provided the feed items don’t have content nested under them—like a comment, answer, or reply. Where the feed item has nested content, only feed moderators and users with the Modify All Data permission can delete threads.
For more special access rules, if any, see the documentation for the standard object. For example, for AccountFeed, see the special access rules for Account.
Fields
| Field | Details |
|---|---|
| BestCommentId |
|
| Body |
|
| CommentCount | |
| ConnectionId |
|
| ContentData | |
| ContentDescription |
|
| ContentFileName |
|
| ContentSize | |
| ContentType | |
| FeedPostId |
|
| InsertedById |
|
| isRichText |
|
| LikeCount | |
| LinkUrl |
|
| NetworkScope |
|
| ParentId | |
| RelatedRecordId |
|
| Title | |
| Type |
|
| Visibility |
|
Usage
A feed for an object is automatically created when a user enables feed tracking for the object. Use feeds to track changes to records. For example, AccountFeed tracks changes to an account record. Use feed objects to retrieve the content of feed fields, such as type of feed or feed ID.
-
NewsFeed and UserProfileFeed are available in API version 18.0 through API version 26.0.
In API version 27.0 and later, NewsFeed and UserProfileFeed are no longer available in SOAP API. Use
Connect REST API to access NewsFeed and UserProfileFeed.
Use the NewsFeed object to query and retrieve lead feed items associated with a converted lead record.
-
For NewsFeed and UserProfileFeed, users who do not have the View All Data permission have the following limitations when querying records: Must specify a LIMIT clause and the limit must be less than or equal to 1000. Can include a WHERE clause that references object fields, but can‘t include references to fields in related objects. For example, you can filter by CreatedDate or ParentId, but not by Parent.Name. Can include an ORDER BY clause that references object fields, but can’t include references to fields in related objects. For example, ORDER BY CreatedDate or ParentId, but not by Parent.Name. To query for the most recent feed items, ORDER BY CreatedDate DESC, Id DESC.
Note the following SOQL restrictions. No SOQL limit if logged-in user has View All Data permission. If not, specify a LIMIT clause of 1,000 records or fewer. SOQL ORDER BY on fields using relationships is not available. Use ORDER BY on fields on the root object in the SOQL query.
- The name Article Type__Feed is variable, where Article Type is the object name for the article type associated with the article. For example, Offer__Feed represents a feed on an article of type Offer.
- Field Service Lightning must be enabled in your organization for ServiceAppointmentFeed, ServiceCrewFeed, ServiceMemberFeed, ServiceResourceCapacityFeed, ServiceResourceFeed, ServiceResourceSkillFeed, ServiceTerritoryFeed, ServiceTerritoryMemberFeed, and SkillRequirementFeed.
- For WorkOrderFeed, Work Orders or Field Service Lightning must be enabled in your organization.
- On UserFeed, if you use the FeedComment object to comment on a user record, the user can delete the comment. For example, if John Smith adds a comment to the feed on Sasha Jones’ user record, Sasha can delete the comment.
Objects That Follow This Model
- AccountFeed
- AccountRelationshipFeed
- ActiveScratchOrgFeed
- AssetFeed
- AssetDowntimePeriodFeed
- AssetRelationshipFeed
- AssignedResourceFeed
- CampaignFeed
- CaseFeed
- ChannelProgramFeed
- ChannelProgramLevelFeed
- ChannelProgramMemberFeed
- CollaborationGroupFeed
- CommSubscriptionChannelTypeFeed
- CommSubscriptionConsentFeed
- CommSubscriptionFeed
- CommSubscriptionTimingFeed
- ConsumptionScheduleFeed
- ContactFeed
- ContentDocumentFeed
- ContractFeed
- CredentialStuffingEventStoreFeed
- DashboardComponentFeed
- DashboardFeed
- EngagementChannelTypeFeed
- EnhancedLetterheadFeed
- EntitlementFeed
- EntityMilestoneFeed
- EventFeed
- ExternalAccountHierarchyFeed
- GoalFeed
- JobProfileFeed
- LandingPageFeed
- LeadFeed
- LinkedArticleFeed
- LiveChatTranscriptFeed
- LocationFeed
- MaintenanceAssetFeed
- MaintenancePlanFeed
- MarketingFormFeed
- MarketingLinkFeed
- MessagingSessionFeed
- MetricFeed
- NamespaceRegistryFeed
- OperatingHoursFeed
- OpportunityFeed
- OrderFeed
- OrderItemFeed
- PartnerFundAllocationFeed
- PartnerFundClaimFeed
- PartnerFundRequestFeed
- PartnerMarketingBudgetFeed
- PartyConsentFeed
- Product2Feed
- ProductConsumedFeed
- ProductItemFeed
- ProductItemTransactionFeed
- ProductRequestFeed
- ProductRequestLineItemFeed
- ProductRequiredFeed
- ProductTransferFeed
- ProfileSkillEndorsementFeed
- ProfileSkillFeed
- ProfileSkillUserFeed
- QuoteFeed
- ReportAnomalyEventStoreFeed
- ReportFeed
- ResourceAbsenceFeed
- ResourcePreferenceFeed
- ReturnOrderFeed
- ReturnOrderLineItemFeed
- ScratchOrgInfoFeed
- ServiceAppointmentCapacityUsageFeed
- ServiceAppointmentFeed
- ServiceContractFeed
- ServiceCrewFeed
- ServiceCrewMemberFeed
- ServiceResourceCapacityFeed
- ServiceResourceFeed
- ServiceResourceSkillFeed
- ServiceTerritoryFeed
- ServiceTerritoryLocationFeed
- ServiceTerritoryMemberFeed
- ServiceTerritoryWorkTypeFeed
- SessionHijackingEventStoreFeed
- ShiftFeed
- ShipmentFeed
- SignupRequestFeed
- SiteFeed
- SkillRequirementFeed
- SnippetFeed
- SocialPostFeed
- SolutionFeed
- SOSSessionFeed
- SurveyFeed
- TaskFeed
- Territory2ModelFeed
- ThreatDetectionFeedbackFeed
- TimeSheetEntryFeed
- TimeSheetFeed
- TopicFeed
- UserFeed
- UserProfileFeed
- WebStorePricebookFeed
- WorkBadgeDefinitionFeed
- WorkCapacityLimitFeed
- WorkCapacityUsageFeed
- WorkCoachingFeed
- WorkFeedbackRequestFeed
- WorkGoalFeed
- WorkOrderFeed
- WorkOrderLineItemFeed
- WorkPerformanceCycleFeed
- WorkRewardFundFeed
- WorkRewardFundTypeFeed
- WorkTypeFeed
- WorkTypeGroupFeed
- WorkTypeGroupMemberFeed