Newer Version Available

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

CombinedAttachment

This read-only object contains all notes, attachments, Google Docs, documents uploaded to libraries in Salesforce CRM Content, and files added to Chatter that are associated with a record.

Supported Calls

describeSObjects()

Fields

Field Name Details
ContentSize
Type
int
Properties
Filter, Group, Nillable, Sort
Description

Size of the document in bytes.

FileType
Type
string
Properties
Filter, Group, Nillable, Sort
Description

Type of document, determined by the file extension.

ParentId
Type
reference
Properties
Filter, Group, Sort
Description

The ID of the parent object.

RecordType
Type
string
Properties
Filter, Group, Nillable, Sort
Description

The parent object type.

Title
Type
string
Properties
Filter, Group, Nillable, Sort
Description

Title of the attached file.

Usage

Use this object to list all notes, attachments, documents uploaded to libraries in Salesforce CRM Content, and files added to Chatter for a record, such as a related list on a detail page.

To determine if an object supports the CombinedAttachment object, call describeSObject() on the object. For example, describeSObject('Account') returns all the child relationships of the Account object, including CombinedAttachment. You can then query the CombinedAttachment child relationship.

1swfobject.registerObject("clippy.codeblock-0", "9");SELECT Name, (SELECT Title FROM CombinedAttachments)
2FROM Account

You can’t directly query CombinedAttachment.