Newer Version Available

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

ConnectApi.PinCapabilityInput (Beta)

Pin or unpin a feed element to a feed.

This release contains a beta version of pinned posts, which means it’s a high-quality feature with known limitations. Post pinning 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 pinned posts in the Trailblazer Community.

Note

Property Type Description Required or Optional Available Version
entityId String ID of the entity to pin or unpin. In version 41.0, entityId must be a feed item ID, and only one feed item can be pinned per feed. Required 41.0
isPinned Boolean Specifies whether to pin (true) or unpin (false) the entity. Required 41.0