As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
document.processTemplate(template)
TemplateService templateService = serviceRegistry.getTemplateService(); // our model Map<String, Object> model = new HashMap<String, Object>(8, 1.0f); // modelNodeRef is the node where from we are gonna take values model.put("document", new TemplateNode(modelNodeRef, serviceRegistry, null)); // TemplateNode allows go get node properties, assocs etc.
<#assign props=document.getProperties()> ${props["cm:name"]