AnsweredAssumed Answered

Can't Access Some AVM Node API Vars in FreeMarker

Question asked by akindo on Aug 7, 2007
Latest reply on Aug 16, 2007 by kvc
Hi all.

I am trying to use FreeMarker templates with web scripts to pull descriptions of folder and their paths. However, some AVM Node API variables (described in http://wiki.alfresco.com/wiki/Template_Guide#AVM_Node_API) do not work.

I have successfully used node.name, node.properties.name, and node.id. However, I can't use node.path for some reason. How do I get the path of a node using FreeMarker?

node.properties.description seems to work, except we can't store folder descriptions with latest version of Alfresco WCM 2.1.

Outcomes