Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Feed Attachment, Chatter entry
How-to guide

How to attach a file to a Chatter feed post

Attaching a file to a Chatter post is a one-click action in the feed composer. The platform creates the FeedItem and FeedAttachment records automatically.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated May 21, 2026

Attaching a file to a Chatter post is a one-click action in the feed composer. The platform creates the FeedItem and FeedAttachment records automatically.

  1. Open the feed composer

    On any feed-enabled record page or the Chatter Home page, click the New Post compose area. The feed composer opens.

  2. Drag a file or click the attachment icon

    Drag a file from your desktop into the composer, or click the paperclip icon to browse. The file uploads and appears as an attachment in the composer.

  3. Attach multiple files (optional)

    Repeat to add additional files. The composer supports multiple files per post; each becomes its own FeedAttachment record.

  4. Add post text

    Type the post body. Mention users with @username if relevant. The text accompanies the attachments in the feed.

  5. Post

    Click Share. The platform creates the FeedItem record, uploads files to ContentVersion if new, creates a FeedAttachment per file linking to the FeedItem.

  6. Verify in the feed

    The feed refreshes and shows your post with the attachments inline. Click an attachment to view or download the file.

Mandatory fields
Parent FeedItem or FeedCommentrequired

The feed post the attachment belongs to. Set via the FeedEntityId field.

Typerequired

Content, Link, or Image. Drives rendering in the feed UI.

Valuerequired

Pointer to the underlying file (ContentVersion Id) or URL (for Link type).

Titlerequired

Display label for the attachment. Shown in feed.

Gotchas
  • File storage is shared across the org. Feed Attachments do not duplicate storage but they do count toward the file storage allocation.
  • External link attachments are not stored in Salesforce. If the linked URL goes away, the attachment shows a broken link in the feed.
  • File-level access trumps feed access. A user with feed access but no file access cannot open the attachment.
  • Comment attachments require enabled FeedComment posting. Restricting comment posting prevents users from attaching files to comments.

See the full Feed Attachment, Chatter entry

Feed Attachment, Chatter includes the definition, worked example, deep dive, related terms, and a quiz.