05-24-2010 01:22 PM
<aspect name="trc:statusA">
<title>Document status</title>
<properties>
<property name="trc:status">
<type>d:text</type>
<constraints>
<constraint ref="trc:statusC" />
</constraints>
</property>
</properties>
</aspect>
<#if item.trc:status??>
"status": "${item.trc:status}",
</#if>
Caused by: freemarker.core.ParseException: Encountered ":" at line 22, column 38 in org/alfresco/slingshot/search/search.get.json.ftl.
Was expecting one of:
">" …
"." …
"[" …
"(" …
"?" …
"!" …
<TERMINATING_EXCLAM> …
"??" …
"+" …
"-" …
"*" …
"/" …
"%" …
"!=" …
"=" …
"==" …
">=" …
<ESCAPED_GTE> …
">" …
<ESCAPED_GT> …
<LESS_THAN_EQUALS> …
<LESS_THAN> …
".." …
<AND> …
<OR> …
05-24-2010 01:48 PM
05-25-2010 03:22 AM
05-25-2010 04:54 AM
trcStatus: (node.hasAspect("trc:statusA")) ? node.properties["trc:status"] : ""
item.ben = "ben";
"ben": "${item.ben}"
"ben": "<#if item.ben??>${item.ben}</#if>"
05-26-2010 03:56 AM
05-26-2010 04:14 AM
05-26-2010 06:04 AM
fields: ["nodeRef", "type", "name", "displayName", "description",
"modifiedOn", "modifiedByUser", "modifiedBy", "size",
"title", "browseUrl", "trcStatus", "site", "tags"]
if (status !== undefined && status !== '')
desc += '<br />Status: ' + status;
else
desc += '<br />Status: Unknown / incorrect document type';
05-26-2010 07:49 AM
05-26-2010 01:14 PM
05-27-2010 06:03 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.