Newer Version Available

This content describes an older version of this product. View Latest

forceChatter:feed

Represents a Chatter Feed

A forceChatter:feed component represents a feed that's specified by its type. Use the type attribute to display a specific feed type. For example, set type="groups" to display the feed from all groups the context user either owns or is a member of.

You can also display a feed depending on the type selected. This example provides a drop-down menu that controls the type of feed to display.

The types attribute specifies the feed types, which are set on the ui:inputSelect component during component initialization. When a user selects a feed type, the feed is dynamically created and displayed.

The feed is supported for Salesforce1 only. You can include the feed in a component and access it in the Salesforce1 app. For a list of feed types, see the Chatter REST API Developer's Guide.

Attributes

Attribute Name Attribute Type Description Required?
body Component[] The body of the component. In markup, this is everything in the body of the tag.
subjectId String For most feeds tied to an entity, this is used specified the desired entity. Defaults to the current user if not specified
type String The strategy used to find items associated with the subject. Valid values include: News, Home, Record, To.