Is it possible to customize voting for Knowledge Articles? Client request is to only allow two choices ("Was this helpful? Yes/No") instead of 5 star ratings. I have not found any platform feature to customize the scale, so I'm looking into creating votes directly (assigning numbers to Yes/No). The articles are displayed in a custom VF page already, so a custom "Was this helpful" control is no problem. But I can't find a way to record votes. KnowledgeArticleVoteStat (and the related <articleType>__VoteStat) are read only. I cannot find API documentation for recording votes. Is this not possible, or have I overlooked something?

1 Answer 1


Discovered the answer. Although the documentation on the Vote object only mentions recording votes for Ideas and Replies, this data model diagram shows that Votes can apply to Articles as well. Trying to query for all Votes returns an interesting error message; apparently you can only query votes with certain filtering applied. I have confirmed, however, that I can create votes, at least for the current user. The voting user is recorded by the CreatedById, so it doesn't look like you can record votes for other users (which is fine for my purposes).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .