Newer Version Available

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

Content Document Link

The polymorphic relationship between a record and a Content Document.
Property Name Type Description Filter Group and Version Available Version
contentDocumentId String The document ID. Small, 56.0 56.0
id String ID of the content document link. Small, 56.0 56.0
linkedEntityId String ID of the linked object. Can include users, groups or records, and Salesforce CRM Content libraries. Small, 56.0 56.0
shareType String The permission granted to the user of the shared file in a library. This is determined by the permission the user already has in the library.
  • V—Viewer permission. The user can explicitly view but not edit the shared file.
  • C—Collaborator permission. The user can explicitly view and edit the shared file.
  • I—Inferred permission. The user’s permission is determined by the related record. For shares with a library, this is defined by the permissions the user has in that library.
Small, 56.0 56.0
systemModstamp String The date and time when a user or an automated process (such as a trigger) last modified this record. Date and time information is in ISO 8601 format. Small, 56.0 56.0
visibility String Specifies whether this file is available to all users, internal users, or shared users. Valid values are:
  • AllUsers
  • InternalUsers
  • SharedUsers
SharedUsers is used only for files shared with users, and is available only when an org has private org-wide sharing on by default.

Visibility can be updated on links to files posted on standard and custom object records, but not to users, groups, or content libraries.

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