Standard - Single

If you are trying to pull just one result then you should use the following method:

  1. #set ($newsList = $dotcontent.pull("+structureName:YOURSTRUCTURENAME +YOURSTRUCTURENAME:$identifier",1,""))  
  2. #if ($newsList.size() > 0)  
  3.     #set ($item = $newsList.get(0))  
  4.     $item.title  
  5. #end  
comments powered by Disqus