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

Knowledge Article Search

I'm trying to return a list of articles with certain key words, but I'd like it to be dynamic. In the controller I have a public string keywords {get; set;} with the content of a search bar when the user clicks the search button. Then I have a visual force component connected to this controller and I have:


<knowledge:articleList articleVar="article"

But I can't save it because I get an "Unknown Property: keywords" error. I have other fields being pulled from the controller sucessfully and the keywords is set as a public string with getters and setters. Any thoughts about this error? Thanks!




The syntax that you use is supported and look fine.  I will look more closely on the controller to double check that keywords is well defined and well declared in VF page.