Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.StatusCapability

If a feed post or comment has this capability, it has a status that determines its visibility.

Subclass of ConnectApi.FeedElementCapability.

Property Name Type Description Available Version
feedEntityStatus ConnectApi.​FeedEntityStatus Status of the feed post or comment. Values are:
  • Draft—The feed post isn’t published but is visible to the author and users with Modify All Data or View All Data permission. Comments can’t be drafts.
  • Isolated—The feed post or comment is isolated, and only admins can see it.
  • PendingReview—The feed post or comment isn’t approved yet and therefore isn’t published or visible.
  • Published—The feed post or comment is approved and visible.
37.0
isApprovable​ByMe Boolean Specifies whether the context user can change the status of the feed post or comment. 37.0