Newer Version Available

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

ConnectApi.StatusCapabilityInput (Beta)

Change the status of a feed element.

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

This class is a subclass of ConnectApi.​FeedElement​CapabilityInput Class.

Property Type Description Required or Optional 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.
In version 37.0, you can’t change a Published feed item to PendingReview.
Required 37.0