0

In Knowledge Article, we getting all description about knowledge article by using "KnowledgeArticleVersion" but this API is not return rating of the article also likes and viewing the score.

If anybody knows please help.

0

That information is stored under different objects so you will have to get it from them.

Link to the API docs -

KnowledgeArticleVoteStat - Rating score

KnowledgeArticleViewStat - Viewing score

  • Sure, But when I use "KnowledgeArticleVersion" I am getting article id which I have created inside knowledge object something like this "ka06F00000084hEQAQ". after that I am calling this "KnowledgeArticleVoteState" inside response we have parantId but parent id is not matched with KnowledgeArtcileVersion records's Id. so how could I filter by id and parent id bases for getting the score from Salesforce? – Vaishali Garg Sep 21 '18 at 7:26
  • You should pass the KnowledgeArticle Id, not the KnowledgeArtcileVersion record Id. – Naval Sharma Sep 21 '18 at 7:28
  • I am working with the KnowledgeArtcileVersion object. Is that both same KnowledgeArtcileVersion and KnowledgeArticle? – Vaishali Garg Sep 21 '18 at 7:30
  • Unlike KnowledgeArticleVersion, the ID of a KnowledgeArticle record is identical irrespective of the article's version (status). For more information on articles and article types, see “Work with Articles and Translations” and “Knowledge Article Types” in the Salesforce online help. Please check the SOAP api docs once. – Naval Sharma Sep 21 '18 at 7:33
  • Sure, I just want to get the score and rating of the specific article. Is that any simple method you know? or any kind of API for that purpose? Can u please help me out this. – Vaishali Garg Sep 21 '18 at 7:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.