You need to sign in to do that
Don't have an account?
ArchieTechie6
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.
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.
- May I suggest you please refer the below link for reference.
- http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_knowledgearticleversion.htm
- Basically, to create, update, or delete a Knowledge article version, use the call on ArticleType_kav, where ArticleType is the name of the article’s type.
- Also, we have more advanced API action available in Apex and REST API to publish, archive, ...
More info here:- http://www.salesforce.com/us/developer/docs/knowledge_dev/index_Left.htm#StartTopic=Content/apex_classes_knowledge_kbManagement.htm
- http://devforce.co/apex-tip-create-a-knowledge-base-article-from-apex/
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