AnsweredAssumed Answered

Returning custom content model attributes as part of search

Question asked by shikarishambu on Feb 9, 2010
Latest reply on Feb 9, 2010 by unknown-user
I have a custom search script that seems to do the search and return the results corectly. However, the results list does not show any values for the attributes associated with my custom content model.

Here is the html.ftl. My content model is called step. pnum, cnum, keywords and category (not to be confused with Alfresco categories) are string attributes on the custom content model. How do I reference/ return custom content model attributes? I have tried {$} and {$["step:pnum"]?string

<#assign datetimeformat="EEE, dd MMM yyyy HH:mm:ss zzz">
<h3>Step Documents</h3>
<#list stepdocs as row>
<td>${"yyyy-MM-dd HH:mm Z")}</td>
<td>${"yyyy-MM-dd HH:mm Z")}</td>