Newer Version Available
KnowledgeArticleVersionHistory
Knowledge__VersionHistory is derived from this object. To access this derived object, turn on field history tracking for Knowledge objects.
Supported Calls
describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
You can also enable delete() in API version 42.0 and later. See Enable delete of Field History and Field History Archive.
Special Access Rules
Knowledge must be enabled in your org. This object respects field, entity, and record-level security. You must have at least “Read” permission on the article type or the field to access its history. For data category security, Salesforce determines access based on the categorization of the online version of an article. If there’s no online version, then security is applied based on the archived version, followed by the security of the draft version.
Fields
| Field Name | Details |
|---|---|
| DataType |
|
| EventType |
|
| FieldName |
|
| Language |
|
| NewValue |
|
| OldValue |
|
| ParentId |
|
| ParentSobjectType |
|
| VersionId |
|
| VersionNumber |
|
Usage
Use this object to query events in the history of an article. For example, you can retrieve the number of edits a particular user has made to an article, how many times the article has been published, and so on.