function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ArchieTechie6ArchieTechie6 

create knowledge article using apex code

Hello All,

I have read from various documentation, threads that we can create Knowledge Article using Apex.
I have referred to this : https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/knowledge_development_intro.htm

I want to create a KB Article by passing "Title" which is a mandatory field for KB creation. 
I am very new to Salesforce and I have referred record creation here - https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_create.htm

Is it the same way to create article using apex code? 

Please suggest.
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Archie, More info here: Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar