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.ManagedContentPublishInput

Input for publishing content.
Property Type Description Required or Optional Available Version
contentIds List<String> IDs of content to publish. All variants of the content are published. Required if variantIds isn’t specified 60.0
contextContent​SpaceId String ID of the context workspace. If specified, content from other workspaces is published if it is shared to the specified workspace. If unspecified, the context workspace is derived from the content’s origin workspace. All content in the request should belong to the same origin workspace. Optional 61.0
description String Description for publish action. Optional 60.0
includeContent​References Boolean Specifies whether to include content references (true) or not (false). Optional 60.0
variantIds List<String> IDs of variants to publish. All variants must be from the same content space. Required if contentIds isn’t specified 60.0