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
ericmonteericmonte 

Visualforce Page for Article Question

So i have two main questions in regards to creating a Vf page for Articles:

1. Is it possible to get the View Count for the articles in VF Page?

2. Is it possible to add Chatter Feeds into a Article?

Best Answer chosen by Admin (Salesforce Developers) 
ericmonteericmonte
Sonam thanks for your input.

1. I was able to find the KnowledgeArticleView Stat document that allows to pull the view count for articles.
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_knowledgearticleviewstat.htm

2. I was able to enable the chatter feed for articles. I was actually looking at the chatter answers by accident. Thanks for the input

All Answers

Sonam_SFDCSonam_SFDC

Article object : KnowledgeArticle doesn't have a parameter with which you can determine the number of views for that article but you can definitely use CaseAssociationCount to determins which all cases was an article associated to:

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_knowledgearticle.htm#topic-title

 

 

If you want to follow knowledge articles in Chatter feeds:

Click Your Name | Setup | Customize | Chatter | Feed Tracking.
Select an article type. Each article type appears by name in the Object list. For example, if your organization has three article types named Offer, FAQ, and Warranty, all three appear alphabetically in the Objects list.
Select Enable Feed Tracking, then click Save when you're done with the page.
 
Hope this helps!
ericmonteericmonte
Sonam thanks for your input.

1. I was able to find the KnowledgeArticleView Stat document that allows to pull the view count for articles.
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_knowledgearticleviewstat.htm

2. I was able to enable the chatter feed for articles. I was actually looking at the chatter answers by accident. Thanks for the input
This was selected as the best answer