AnsweredAssumed Answered

Looking up node references in Share forms

Question asked by on Apr 18, 2013
Latest reply on Apr 24, 2013 by
I am trying to display a category field as text in a Share Freemarker form context (actually an adapted version of category.ftl control).

I can easily display the node reference of a category field using ${field.value?html} which displays as:


but don't know how to translate that into human readable category text.

The general Alfresco Freemarker documentation includes this example:


However, companyhome doesn't appear to be present in the forms context. If I try to use it I get the Freemarker error "Expression companyhome is undefined".

Does anyone know how to look up the category properties from its nodeRef in Share forms and form controls, or can point me to docs on the root objects and methods available to Freemarker in these contexts?