Content Document Link Event Type

Content Document Link events contain sharing information for content documents.

For details about event monitoring, see the Trailhead Event Monitoring module or REST API Developer’s Guide.

Fields

Field Details
DOCUMENT_ID
Type
Id
Description
The 15-character ID of the document that’s being shared.
EVENT_TYPE
Type
String
Description
The type of event. The value is always ContentDocumentLink.
ORGANIZATION_ID
Type
Id
Description
The 15-character ID of the organization.
For example: 00D000000000123.
REQUEST_ID
Type
String
Description
The unique ID of a single transaction. A transaction can contain one or more events. Each event in a given transaction has the same REQUEST_ID.
For example: 3nWgxWbDKWWDIk0FKfF5DV.
SHARED_WITH_ENTITY_ID
Type
Id
Description
Who the document was shared with.
SHARING_OPERATION
Type
String
Description
The type of sharing operation on the document.
Possible Values
  • INSERT
  • UPDATE
  • DELETE
SHARING_PERMISSION
Type
String
Description
What permissions the document was shared with.
Possible Values
  • V: Viewer
  • C: Collaborator
  • I: Inferred—that is, the sharing permissions were inferred from a relationship between the viewer and document. For example, a document’s owner has a sharing permission to the document itself. Or, a document can be a part of a content collection, and the viewer has sharing permissions to the collection rather than explicit permissions to the document directly.
TIMESTAMP
Type
String
Description
The access time of Salesforce services in GMT.
For example: 20130715233322.670.
TIMESTAMP_DERIVED
Type
DateTime
Description
The access time of Salesforce services in ISO8601-compatible format (YYYY-MM-DDTHH:MM:SS.sssZ).
For example: 2015-07-27T11:32:59.555Z. Timezone is GMT.
USER_ID
Type
Id
Description
The 15-character ID of the user who’s using Salesforce services through the UI or the API.
For example: 00530000009M943
USER_ID_DERIVED
Type
Id
Description
The 18-character case insensitive ID of the user who’s using Salesforce services through the UI or the API.
For example: 00590000000I1SNIA0.