Newer Version Available

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

ConnectApi.​StatusCapability (Beta)

If a feed element has this capability, it has a status that determines its visibility.

This release contains a beta version of the pre-moderation feature, which means it’s a high-quality feature with known limitations. This feature isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. 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. You can provide feedback and suggestions for this feature in the Community Implementation group in the Success Community.

Note

Subclass of ConnectApi.​FeedElement​Capability Class.

Property Name Type Description Available Version
feedEntityStatus ConnectApi.​FeedEntityStatus Specifies the status of the feed item. Values are:
  • PendingReview—The feed item isn’t approved yet and therefore isn’t published or visible.
  • Published—The feed item is approved and visible.
37.0
isApprovable​ByMe Boolean Specifies whether the current user can change the status of the feed item from PendingReview to Published. 37.0