Newer Version Available

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

Content Document

A file or image that's uploaded to a record.
Property Name Type Description Filter Group and Version Available Version
archivedById String The ID of the user who archived the document. Small, 56.0 56.0
archivedDate String The date when the document was archived. Small, 56.0 56.0
checksum String MD5 checksum for the document. Small, 56.0 56.0
contentAssetId String If the Content Document is an asset file, the property points to the asset. The value is null for most objects. Small, 56.0 56.0
contentModifiedDate String The date when the document was modified. When you upload the first version of a document, this property can be set to the current time or anytime in the past. The date is updated when the document is renamed or a new version is uploaded. Small, 56.0 56.0
contentSize Integer The size of the document in bytes. Small, 56.0 56.0
createdById String The ID of the user who uploaded the document. Small, 56.0 56.0
createdDate String The date when the document was uploaded. Small, 56.0 56.0
description String A description of the document. Small, 56.0 56.0
displayValue String The displayable value for the document. Small, 56.0 56.0
division String A logical segment of your organization's data. For example, you can create a division for each business unit, such as “Sales” or “Marketing”. Available only if the organization has the Division permission enabled. Small, 56.0 56.0
eTag String A string populated with a hash.

Don’t use this property. Instead, use weakEtag. Because eTag is a string, you can only compare for equality.

Small, 56.0 56.0
fileType String Type of document, determined by the file extension. Small, 56.0 56.0
id String The ID of the document. Small, 56.0 56.0
isArchived Boolean Indicates whether the document has been archived or not. Small, 56.0 56.0
lastModifiedById String The ID of the user who last updated the record. Small, 56.0 56.0
lastModifiedDate String The date and time when a user last modified the record. Date and time information is in ISO 8601 format. Small, 56.0 56.0
lastReferenceDate String The timestamp for when the current user last viewed a record related to the record. Small, 56.0 56.0
lastViewedDate String The timestamp for when the current user last viewed the record. The value is null if the document was referenced (LastReferencedDate) and not viewed. Small, 56.0 56.0
latestPublishedVersionId String ID of the latest document version (Content Version). Small, 56.0 56.0
ownerId String The ID of the document owner. Small, 56.0 56.0
parentId String The ID of the library that owns the document, which is created automatically when creating a content version via the API the first time. Small, 56.0 56.0
publishStatus String 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.
  • R—The document is published to a personal library and is restricted to the owner.
  • U—The document is not published because publishing was interrupted.
Small, 56.0 56.0
recordTypeId String The record type ID for the record. Small, 56.0 56.0
sharingOption String Controls whether sharing is frozen for the file. Only administrators and file owners with Collaborator access to the file can modify this property. Default is Allowed, which means that new shares are allowed. Set to Restricted to prevent new shares. Small, 56.0 56.0
systemModstamp String The date and time when a user or an automated process (such as a trigger) last modified the record. Date and time information is in ISO 8601 format. Small, 56.0 56.0
title String The title for the document. Small, 56.0 56.0
weakEtag 64-bit integer (base 10) Compare this value between responses to determine whether a document changed. If the value is larger, the document is newer. If the value is smaller, the document is older. If the value is the same, the documents are the same. Small, 56.0 56.0