Newer Version Available

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

ConnectApi.​ContentCapability​Input

Attach or update a file with a feed element. Use this class to attach a new file or update a file that has already been uploaded to Salesforce.

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

Property Type Description Required or Optional Available Version
contentDocumentId String ID of the existing content. Required for existing content 32.0
description String Description of the file to be uploaded. Optional 32.0
title String Title of the file. This value is used as the file name for new content. For example, if the title is My Title, and the file is a .txt file, the file name is My Title.txt. Required for new content 32.0