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
di_zoudi_zou 

Question about knowledge:articleList

I have a Visualforce page where I am using knowledge:articleList to display a list of our knowledge articles sorted by the number of views.

 

However, articles older than 30 days are not displayed. This also happens in our Articles tab in our Customer Portal. Articles older than 30 days aren't displayed. Is there any way to turn this off and get the articles older than 30 days to be displayed?

 

francoisLfrancoisL

Hi,

 

If you set at least on cateogory, the limit of last 30 days will not be there anymore.

di_zoudi_zou

This worked but we have artcicles that don't have a category assigned. Is there anyway to include these articles to be displayed as well? Thanks.

francoisLfrancoisL

In this case, the only other solution is to write SOQL query to retrieve the list. It have to be 2 queries, one to retrieve list of Id of article most viewed and a second one to retrieve article details.