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.
Get tagsfunction getTags();
getTags(org.alfresco.service.cmr.repository.NodeRef nodeRef) Get all the tags on a node
var tags = taggingService.getTags(companyhome.childByNamePath("sites").childByNamePath("monsite").nodeRef); var tags2 = companyhome.childByNamePath("sites").childByNamePath("monsite").getTags(); model.tags= tags; model.tags2 = tags2;
<html> <body> <#list tags as tag> ${tag.name} </#list> <#list tags2 as tag> ${tag.name} </#list> </body> </html>
companyhome.childByNamePath("sites").childByNamePath("monsite").tagScope.getTags();
${tag.getName()}