You need to sign in to do that
Don't have an account?
rdclk23
knowledge:articleList with custom controller
I've built the knowledge article pagenation example with a custom controller from the Salesforce Knowledge Developers Guide (page 14). I can't figure our how the <knowledge:articleList> tag knows to read the List<KnowledgeArticleVersion> created in the custom controller constructor from SOQL. I don't see a parameter on the <knowledge:articleList> and the List in the controller does not have a property or method to expose it.
<knowledge:articleList> uses a attribute 'keyword' to search the articles. its a prebuilt component and does not need a list to be fed from the controller.
You need to bind the 'keyword' in the component and the controller's soql query( to support the pagination for a keyword search).
Hope that helps.
ArticleList provides default keyword searched report, you can use SOSL's 'WITH TRACKING' to track the keywords searched.