Single value

The example below shows you how to search the News Item structure based on an Id which is retrieved from the querystring.

  1. #if($request.getParameter('item'))  
  2.   
  3.     #set ($query_Id = $request.getParameter('item'))  
  4.     #set ($query = "+structureName:YOURSTRUCTURENAME +YOURSTRUCTURENAME.Id:$!{query_Id}")  
  5.   
  6. #end  
comments powered by Disqus