How do I get KnowledgeArticleViewStat data from a Visualforce page via SQL queries? <p>I am trying to display information about Knowledge Articles on my page. One of the things I want to display is the most viewed article stat.</p> <p>I have a Visualforce Apex component that looks like this:</p> <pre><code>&lt;apex:component controller="Component_Query" access="global"&gt; &lt;apex:attribute name="QueryString" type="String" required="true" access="global" assignTo="{!queryString}" description="A valid SOQL query in string form." /&gt; &lt;apex:variable value="{!results}" var="results"/&gt; &lt;apex:componentBody /&gt; &lt;/apex:component&gt; </code></pre> <p>I have a Visualforce page that looks like this:</p> <pre><code>&lt;apex:page &gt; &lt;table id="articles"&gt; &lt;knowledge:articleList articleVar="article" sortBy="mostViewed" pageSize="5"&gt; &lt;tr&gt; &lt;td&gt;{!article.articlenumber}&lt;/td&gt; &lt;td&gt;&lt;a target="_parent" href="{!URLFOR($Action.KnowledgeArticle.View, article.id)}"&gt;{!article.title}&lt;/a&gt;&lt;/td&gt; &lt;td&gt;{!article.articletypelabel}&lt;/td&gt; &lt;td&gt;{!article.lastpublisheddate}&lt;/td&gt; &lt;td&gt; &lt;c:Query_component queryString="SELECT NormalizedScore FROM KnowledgeArticleViewStat WHERE ParentId = '{!article.id}'"&gt; &lt;apex:repeat value="{!results}" var="result"&gt; &lt;/apex:repeat&gt; &lt;/c:Query_component&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/knowledge:articleList&gt; &lt;/table&gt; &lt;/apex:page&gt; </code></pre> <p>I put the Visualforce Page into a tab. When I view the page, all the information about the knowledge articles show up except for the information about the most viewed stat. How do I see this stat?</p>