ConnectApi.FeedElement

Feed elements are the top-level items that a feed contains. Feeds are feed element containers.

This class is abstract.

Superclass of:

Property NameTypeDescriptionAvailable Version
bodyConnectApi.​FeedBodyInformation about the feed element. Important: Use the header.text property as the default value for rendering text because the body.text property can be null.22.0
capabilitiesConnectApi.​FeedElement​CapabilitiesA container for all capabilities that can be included with a feed element.31.0
createdDateDatetimeISO 8601 format date string, for example, 2011-02-25T18:24:31.000Z.31.0
feedElementTypeConnectApi.​FeedElementTypeFeed elements are the top-level objects that a feed contains. The feed element type describes the characteristics of that feed element. One of these values:
  • Bundle—A container of feed elements. A bundle also has a body made up of message segments that can always be gracefully degraded to text-only values.
  • FeedItem—A feed item has a single parent and is scoped to oneExperience Cloud site or across all Experience Cloud sites. A feed item can have capabilities such as bookmarks, canvas, content, comment, link, poll. Feed items have a body made up of message segments that can always be gracefully degraded to text-only values.
  • Recommendation—A recommendation is a feed element with a recommendations capability. A recommendation suggests records to follow, groups to join, or applications that are helpful to the context user.
31.0
headerConnectApi.​MessageBodyThe header is the title of the post. This property contains renderable plain text for all the segments of the message. If a client doesn’t know how to render a feed element type, it should render this text.31.0
idString18-character ID of the feed element.22.0
modifiedDateDatetimeISO 8601 format date string, for example, 2011-02-25T18:24:31.000Z.31.0
parentConnectApi.​ActorWithIdFeed element’s parent28.0
relativeCreated​DateStringThe created date formatted as a relative, localized string, for example, “17m ago” or “Yesterday.”31.0
urlStringConnect REST API URL to this feed element.22.0

See Also