Newer Version Available
KnowledgeArticle
Unlike KnowledgeArticleVersion, the ID of a KnowledgeArticle record is identical irrespective of the article's version (status). For more information on articles and article types, see “Work with Articles and Translations” and “Knowledge Article Types” in the Salesforce online help.
Supported Calls
delete(), describeSObjects(), query(), retrieve()
Special Access Rules
A user must have the “View Articles” permission enabled. Salesforce Knowledge users, unlike Customer Portal and partner portal users, must also be granted the Knowledge User feature license.
Fields
Usage
Use this object to query or retrieve articles. KnowledgeArticle can be used in a SOQL clause, but doesn’t provide access to the fields from the article. Provides read-only access to an article and the ability to delete the master article.
Usage for SOQL with KnowledgeArticle
- To expose the migrated_to_from_id on KnowledgeArticle and
KnowledgeArticleVersion to the sObject API: expose MigratedToFromArticle in
KnowledgeArticle. The org must have pref LightningKnowledgeEnabled. For SOQL:
- To filter by MigratedToFromArticle, remove any other filters.
- When filtering by MigratedToFromArticle, use the '=' or 'IN' operator.
- When filtering by MigratedToFromArticle, the value can't be null or empty.