KnowledgeArticle
Unlike KnowledgeArticleVersion, the ID of a KnowledgeArticle record is identical irrespective of the article's version (status).
Knowledge__ka is derived from this object.
Supported Calls
describeSObjects(), query(), retrieve()
Special Access Rules
Knowledge must be enabled in your org. A user must have the View Articles permission enabled. Salesforce Knowledge users, unlike customer and partner 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 primary article.
Usage for SOQL with KnowledgeArticle
To expose the migrated_to_from_id column on KnowledgeArticle and KnowledgeArticleVersion to the sObject API: expose MigratedToFromArticle in KnowledgeArticle.
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.