ContentDocument

Represents a document that has been uploaded to a library in Salesforce CRM Content or a file in Chatter. This object is available in versions 17.0 and later for Salesforce CRM Content. The maximum number of documents that can be published in a 24–hour period is 500,000. This object is available in version 21.0 and later for Chatter files.

Supported Calls

delete(), describeSObjects(), query(), retrieve(), undelete(), update()

Special Access Rules

Fields

Field Details
Division
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
A logical segment of your organization’s data. Available only if the organization has the Division permission enabled.
IsArchived
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the document has been archived (true) or not (false).
LatestPublishedVersionId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the latest document version.
OwnerId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the owner of this document.
ParentId
Type
reference
Properties
Filter, Group, Sort, Update
Description
ID of the library that owns the document. Created automatically when inserting a ContentVersion via the API for the first time.
PublishStatus
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
Indicates if and how the document is published. Valid values are:
  • P—The document is published to a public library and is visible to other users. Label is Public.
  • R—The document is published to a personal library and is not visible to other users. Label is Personal Library.
  • U—The document is not published because publishing was interrupted. Label is Upload Interrupted.
Title
Type
string
Properties
Filter, Group, Sort
Description

The title of a document.

Usage

© Copyright 2000–2012 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.