Skip to main content
edited tags
Link
Samuel De Rycke
  • 9.6k
  • 8
  • 46
  • 73
Source Link

Create/Edit or Update a knowledge article in Salesforce using apex code

How to create a new knowledgearticle object from Apex code in salesforce? Using the insert statement with a knowledgearticle shows a DML operation INSERT not allowed on KnowledgeArticleVersion error.

Also, if there is an already exisiting article...how to update the article .. For e.g. add some more text to the summary of the knowledge artilcle.