+ Start a Discussion
BellaBella 

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"
pageSize="10"
pageNumber="1"
keyword="{!keywords}">

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!

francoisLfrancoisL

Hi,

 

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.