You need to sign in to do that
Don't have an account?
CloudPower1
Can we create Knowledge articles in Salesforce using Apex code?
Hi,
Can we create Knowledge articles programatically using Apex code in salesforce?
Can we create Knowledge articles programatically using Apex code in salesforce?
Yes you can create an Article using API.
Some documentation:
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
If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.
Thanks,
Shashank
All Answers
Yes you can create an Article using API.
Some documentation:
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
If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.
Thanks,
Shashank
Title and URLName fields are amndatory fields to be added.
Is it possible to insert article in knowledge__kav object through bulk api while keeping article status as "publoshed".
It allows me to keep status as Draft but not published.
Amy suggestions please.
Thanks,
Sachin